Libraryless. Click here for Pure Java version (33L/1K).
static int compressed30BitUint_lengthFromFirstByte(byte b) { ret (ubyteToInt(b) >> 6)+1; }
Began life as a copy of #1029533
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1029534 |
Snippet name: | compressed30BitUint_lengthFromFirstByte |
Eternal ID of this version: | #1029534/1 |
Text MD5: | 1a8129ba9226bc3f2571e3292ac433b8 |
Transpilation MD5: | 7817e904684afc25a40d62cbfeec4638 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-08-17 23:33:57 |
Source code size: | 94 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 199 / 281 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1029535 - compressed30BitUint_lengthForValue |