kinesin_rdt::frame

Module encoding

Source
Expand description

Frame encoding utilities

Functionsยง

read_varint4
read varint4 from buffer, returning (value, size)
read_varint8
read varint8 from buffer, returning (value, size)
varint4_size
determine how many bytes are required to encode a varint8
varint8_size
determine how many bytes are required to encode a varint8
write_varint4
write varint4 to buffer, returning how many bytes were used
write_varint8
write varint8 to buffer, returning how many bytes were used