Libraryless. Click here for Pure Java version (5162L/28K).
static ItIt<byte[]> byteArrayChunksIterator(byte[] l, int chunkSize) { ret iteratorFromFunction(new IF0<byte[]>() { int n = l(l), i; public byte[] get() { if (i >= n) null; i += chunkSize; ret subByteArray(l, i-chunkSize, i); } }); }
Began life as a copy of #1026949
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034330 |
Snippet name: | byteArrayChunksIterator |
Eternal ID of this version: | #1034330/1 |
Text MD5: | 3b69439aff7c1236f01bafa80c61fa86 |
Transpilation MD5: | 46b01cdfbf4b49f813d5439cb14e947a |
Author: | stefan |
Category: | javax / audio |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-02-02 20:59:46 |
Source code size: | 282 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 140 / 197 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |