Libraryless. Click here for Pure Java version (2499L/16K).
sS readLineIgnoreCR(Reader reader, StringBuilder buf default null) ctex { int ch; if (buf == null) buf = new StringBuilder; else buf.setLength(0); while ((ch = reader.read()) >= 0) { if (ch == '\n') break; buf.append((char) ch); } ret str(buf); }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1028790 |
Snippet name: | readLineIgnoreCR |
Eternal ID of this version: | #1028790/3 |
Text MD5: | 6e6176d5bdc6dabf63e0aba4307d7598 |
Transpilation MD5: | ea1639e4288854724fb5427682cafa94 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-08-06 14:42:06 |
Source code size: | 272 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 218 / 325 |
Version history: | 2 change(s) |
Referenced in: | [show references] |