1 | sS loadUtf8LineFromFile(File f, long index) ctex {
|
2 | FileInputStream in = new FileInputStream(f); |
3 | in.skip(index); // XXX - is this fast? |
4 | ret new ByteCountingLineReader(in).readLine(); |
5 | } |
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: | #1014157 |
| Snippet name: | loadUtf8LineFromFile |
| Eternal ID of this version: | #1014157/2 |
| Text MD5: | 8c8f91b93655286eca5d157e474d2a05 |
| Author: | stefan |
| Category: | javax / io |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-04-15 12:40:02 |
| Source code size: | 193 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 567 / 631 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |