static void file2stream(File src, OutputStream out) throws IOException { FileInputStream inputStream = new FileInputStream(src); try { copyStream(inputStream, out); } finally { inputStream.close(); } }
Began life as a copy of #1000843
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1003777 |
| Snippet name: | file2stream |
| Eternal ID of this version: | #1003777/1 |
| Text MD5: | 192a0d4284d8c1d9d955b29bfc62b2c1 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-07-27 00:06:59 |
| Source code size: | 224 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 863 / 874 |
| Referenced in: | [show references] |