1 | static byte[] firstBytesOfFile(File file, int n) { |
2 | FileInputStream in = new FileInputStream(file); |
3 | try { |
4 | ret bytesFromStream(in, n); |
5 | } finally { |
6 | in.close(); |
7 | } |
8 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1002997 |
Snippet name: | firstBytesOfFile (todo) |
Eternal ID of this version: | #1002997/1 |
Text MD5: | b689096edd06cc8f7c36a3857dce32fb |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-04-16 14:55:49 |
Source code size: | 183 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 646 / 565 |
Referenced in: | [show references] |