Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1014617 // readChunkThroughUTF8Processor

JavaX fragment (include)

static S readChunkThroughUTF8Processor(UTF8Processor p, InputStream in, byte[] buf) ctex {
  new StringBuilder input;
  int n = in.read(buf);
  for i to n:
    input.append(p.processByte(buf[i]));
  ret input.toString();
}

Author comment

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: 347 / 358
Version history: 1 change(s)
Referenced in: [show references]