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

3
LINES

< > BotCompany Repo | #1032500 // clampToUByte - see also: limitToUByte

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

Transpiled version (47L) is out of date.

1  
static byte clampToUByte(long l) {
2  
  ret (byte) clamp(l, 0, 255);
3  
}

Author comment

Began life as a copy of #1031756

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1032500
Snippet name: clampToUByte - see also: limitToUByte
Eternal ID of this version: #1032500/2
Text MD5: 671fccdfdb2c79796eb49bc3826c878c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-13 02:14:22
Source code size: 69 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 171 / 248
Version history: 1 change(s)
Referenced in: [show references]