Libraryless. Click here for Pure Java version (3781L/22K).
static byte[] byteListToArray(LByte l) { if (l == null) null; int n = l(l), i = 0; byte[] a = new[n]; for (x : l) a[i++] = x; ret a; }
Began life as a copy of #1018464
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033141 |
Snippet name: | byteListToArray |
Eternal ID of this version: | #1033141/1 |
Text MD5: | 8189ce16248ba02e0ac9418753029c95 |
Transpilation MD5: | c49a9dc1a320f2dfef44c4f42a224215 |
Author: | stefan |
Category: | javax / io |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-15 18:00:32 |
Source code size: | 155 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 161 / 222 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |