readVector8

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

Reads a variable-length vector with uint8 length prefix.

Parameters

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

Returns

Slice of the vector data.