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

3
LINES

< > BotCompany Repo | #1032591 // byteArrayBitSet_new - create a byte array big enough for n bits

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

Transpiled version (28L) is out of date.

static byte[] byteArrayBitSet_new(int n) {
  ret n == 0 ? null : new byte[(n+7) >> 3];
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, elmgxqgtpvxh, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1032591
Snippet name: byteArrayBitSet_new - create a byte array big enough for n bits
Eternal ID of this version: #1032591/4
Text MD5: 7fec22caf241c8f47a6ba186f6aa4d17
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-08-05 18:42:01
Source code size: 90 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 94 / 134
Version history: 3 change(s)
Referenced in: [show references]