Constantsยง
- BLOCK_
CONTINUATION - The continuation token
- BLOCK_
SIZE - The block size of the variable length encoding
- EMPTY_
SENTINEL - Indicates an empty string
- MINI_
BLOCK_ COUNT - The first block is split into
MINI_BLOCK_COUNT
mini-blocks - MINI_
BLOCK_ SIZE - The mini block size
- NON_
EMPTY_ SENTINEL - Indicates a non-empty string
Functionsยง
- decode_
binary - Decodes a binary array from
rows
with the providedoptions
- decode_
binary_ view - Decodes a binary view array from
rows
with the providedoptions
- decode_
binary_ ๐view_ inner - decode_
blocks - Decodes a single block of data
The
f
function accepts a slice of the decoded data, it may be called multiple times - decode_
string โ - Decodes a string array from
rows
with the providedoptions
- decode_
string_ โview - Decodes a string view array from
rows
with the providedoptions
- decoded_
len ๐ - Returns the number of bytes of encoded data
- encode
- Variable length values are encoded as
- encode_
blocks ๐ - Writes
val
inSIZE
blocks with the appropriate continuation tokens - encode_
empty - encode_
null - encode_
one - encoded_
len - Returns the length of the encoded representation of a byte array, including the null byte
- padded_
length - Returns the padded length of the encoded length of the given length