Skip to main contentModule misc
Source - raw
- Various parsing/serialization primitives.
- lenenc_int_len
- Returns length of length-encoded-integer representation of
x. - lenenc_str_len
- Returns length of lenght-encoded-string representation of
s. - read_varlen_uint
- Reads a variable-length unsigned integer from the MySQL serialization format.
- split_version
- Splits server ‘version’ string into three numeric pieces.
- varlen_uint_size
- Returns the number of bytes needed to varlen-encode the given unsigned value.
- write_varlen_uint
- Writes a variable-length unsigned integer in the MySQL serialization format.