Libraryless. Click here for Pure Java version (1603L/11K).
1 | static int byteArrayOutputStreamBufferSize(ByteArrayOutputStream baos) {
|
2 | ret baos == null ? 0 : l(optCast(byte[].class, getOpt(baos, 'buf))); |
3 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, podlckwnjdmb, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1024227 |
| Snippet name: | byteArrayOutputStreamBufferSize (hacky, but shouldn't fail, even if implementation might be changed in the future) |
| Eternal ID of this version: | #1024227/3 |
| Text MD5: | 71725987e3e3f8e305645e20bb9715d7 |
| Transpilation MD5: | f8ffee44f71e800d0f9d14308285edd5 |
| Author: | stefan |
| Category: | javax / io |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-07-28 13:32:07 |
| Source code size: | 147 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 376 / 511 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |