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

9
LINES

< > BotCompany Repo | #1024955 // bufferedOutputStream

JavaX fragment (include)

static BufferedOutputStream bufferedOutputStream(OutputStream out) {
  if (out == null) null;
  if (out cast BufferedOutputStream) ret out;
  ret new BufferedOutputStream(out, defaultBufferedOutputStreamSize());
}

static BufferedOutputStream bufferedOutputStream(File f) {
  ret bufferedOutputStream(fileOutputStream(f));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1024955
Snippet name: bufferedOutputStream
Eternal ID of this version: #1024955/2
Text MD5: 4fdfb9b9a272b12118d2edc9e008bb31
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-11-08 15:23:11
Source code size: 332 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 343 / 384
Version history: 1 change(s)
Referenced in: [show references]