Expand description
§SQLite Varint
Utility functions for dealing with SQLite varints.
Functions§
- read_
varint - Reads a slice of bytes from the start assuming it is a varint. Gives back the varint as i64 and the amount of bytes the varint was big.
- read_
varint_ byte_ length - Read how long the varint would be in amount of bytes.
- serialize_
to_ varint - Serializes an i64 to a variable length byte representation.