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

9
LINES

< > BotCompany Repo | #1016738 // printOutputStreamWithIndent - OutputStream funnelled into printIndent()

JavaX fragment (include)

static OutputStream printOutputStreamWithIndent(S indent) {
  final new UTF8Processor utf8;
  final LineBuffer buf = lineBuffer_printWithIndent(indent);
  ret new OutputStream {
    public void write(int b) {
      buf.append(utf8.processByte((byte) b));
    }
  };
}

Author comment

Began life as a copy of #1016631

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1016738
Snippet name: printOutputStreamWithIndent - OutputStream funnelled into printIndent()
Eternal ID of this version: #1016738/2
Text MD5: 6ce2f8cbeb54f9597b87e0b4adb4c442
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-30 16:02:39
Source code size: 275 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 405 / 419
Version history: 1 change(s)
Referenced in: [show references]