readVector16

fnconst(ubyte)[] readVector16(const(ubyte)[] data, ref size_t offset) @safe pure nothrow @nogc

Reads a variable-length vector with uint16 length prefix.

Parameters

dataSource bytes.
offsetStarting position (updated past the vector).

Returns

Slice of the vector data.