Module decode

Source

Functionsยง

complete_quads_len ๐Ÿ”’
Returns the length of complete quads, except for the last one, even if it is complete.
decode_chunk_4 ๐Ÿ”’
Like decode_chunk_8 but for 4 bytes of input and 3 bytes of output.
decode_chunk_8 ๐Ÿ”’
Decode 8 bytes of input into 6 bytes of output.
decode_helper ๐Ÿ”’
Helper to avoid duplicating num_chunks calculation, which is costly on short inputs. Returns the decode metadata, or an error.