1 | static S readChunkThroughUTF8Processor(UTF8Processor p, InputStream in, byte[] buf) ctex { |
2 | new StringBuilder input; |
3 | int n = in.read(buf); |
4 | for i to n: |
5 | input.append(p.processByte(buf[i])); |
6 | ret input.toString(); |
7 | } |
Began life as a copy of #1008077
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: | #1014617 |
Snippet name: | readChunkThroughUTF8Processor |
Eternal ID of this version: | #1014617/2 |
Text MD5: | 7a394f1053908f9b2b48d84248f3765a |
Author: | stefan |
Category: | javax / io |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-04-26 23:45:57 |
Source code size: | 228 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 437 / 450 |
Version history: | 1 change(s) |
Referenced in: | [show references] |