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

7
LINES

< > BotCompany Repo | #1011502 - copyStreamAndCloseInput

JavaX fragment (include)

static void copyStreamAndCloseInput(InputStream in, OutputStream out) ctex {
  try {
    copyStream(in, out);
  } finally {
    in.close();
  }
}

Author comment

Began life as a copy of #1000844

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: #1011502
Snippet name: copyStreamAndCloseInput
Eternal ID of this version: #1011502/1
Text MD5: 7d352932a109c96aacd5f40a2ed5cf78
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-30 21:19:26
Source code size: 151 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 276 / 303
Referenced in: [show references]