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

6
LINES

< > BotCompany Repo | #1034297 // bytesFromDataOutputStream

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Compilation Failed (5094L/28K).

1  
static byte[] bytesFromDataOutputStream(IVF1WithExceptions<DataOutputStream> r) ctex {
2  
  var baos = new ByteArrayOutputStream;
3  
  var dos = dataOutputStream(baos);
4  
  r.get(dos);
5  
  ret baos.toByteArray();
6  
}

Author comment

Began life as a copy of #1029364

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034297
Snippet name: bytesFromDataOutputStream
Eternal ID of this version: #1034297/4
Text MD5: de7ac7d93a60d4f7dfa2963288f57277
Transpilation MD5: 5450510c7ac9d069ea0fd33816337b98
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-02-01 15:13:04
Source code size: 209 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 143 / 208
Version history: 3 change(s)
Referenced in: [show references]