static void copyStream(InputStream in, OutputStream out) ctex { byte buf[] = new byte[1024]; int l; while (true) { l = in.read(buf); if (l <= 0) break; out.write(buf, 0, l); } }
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: | #1000729 |
Snippet name: | copyStream (OLD, 1024 bytes buffer) |
Eternal ID of this version: | #1000729/1 |
Text MD5: | 87a90f59b359854284e75a892fada2b0 |
Author: | stefan |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-04-16 14:32:42 |
Source code size: | 205 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 616 / 1404 |
Referenced in: | #1002427 - Accellerating 629 (SPIKE) #3000382 - Answer for ferdie (>> t = 1, f = 0) #3000383 - Answer for funkoverflow (>> t=1, f=0 okay) |