Skip to main content

Module misc

Module misc 

Source

Modules§

raw
Various parsing/serialization primitives.

Functions§

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.