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

7
LINES

< > BotCompany Repo | #1029525 // byteArrayToIF0_Byte

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

Libraryless. Click here for Pure Java version (2496L/16K).

static IF0_Byte byteArrayToIF0_Byte(byte[] array) {
  ret new IF0_Byte {
    int i;
    
    public byte get() { ret array[i++]; }
  };
}

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: #1029525
Snippet name: byteArrayToIF0_Byte
Eternal ID of this version: #1029525/2
Text MD5: 2d17098eefbc7b5b93b4427efce40273
Transpilation MD5: f9f231bc14c0664d280c0a552d5d5fe0
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-08-17 16:54:33
Source code size: 143 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 186 / 279
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)