Function BinaryDecoder.readArrayNext

override size_t readArrayNext();

See Also

readArrayStart

Example

// A binary array with 2 items in a 6-byte block, and 1 block only.
ubyte[] data = [
//    -2     6                                   empty block
    0x05, 0x0C, 0x20, 0x21, 0x22, 0x30, 0x31, 0x32, 0x00,
// Another array, but without an indicator of bytes per block.
    0x04, 0x20, 0x21, 0x22, 0x30, 0x31, 0x32, 0x00];
auto decoder = binaryDecoder(data);
with (decoder) {
  assert(skipArray() == 0);
  assert(skipArray() == 2);
}