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

3
LINES

< > BotCompany Repo | #1035113 // ubyteToBinary

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

Libraryless. Click here for Pure Java version (108L/1K).

sS ubyteToBinary(int i) {
  ret pad(Int.toString(i & 255, 2), 8, '0');
}

Author comment

Began life as a copy of #1034996

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1035113
Snippet name: ubyteToBinary
Eternal ID of this version: #1035113/1
Text MD5: b83738465d52eaad08c406c918672758
Transpilation MD5: 52a71ad26ed07719092f77bdf2a00fbd
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-30 04:50:12
Source code size: 74 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 46 / 75
Referenced in: [show references]