readVector8
fn
const(ubyte)[] readVector8(const(ubyte)[] data, ref size_t offset) @safe pure nothrow @nogcReads a variable-length vector with uint8 length prefix.
Parameters
data | Source bytes. |
offset | Starting position (updated past the vector). |
Returns
Slice of the vector data.