Module base64::engine::general_purpose::decode
source ยท Constantsยง
- DECODED_BLOCK_LEN ๐
- DECODED_CHUNK_LEN ๐
- DECODED_CHUNK_SUFFIX ๐
- INPUT_BLOCK_LEN ๐
- INPUT_CHUNK_LEN ๐
Functionsยง
- decode_chunk ๐Decode 8 bytes of input into 6 bytes of output. 8 bytes of output will be written, but only the first 6 of those contain meaningful data.
- decode_chunk_precise ๐Decode an 8-byte chunk, but only write the 6 bytes actually decoded instead of including 2 trailing garbage bytes.
- decode_helper ๐Helper to avoid duplicating num_chunks calculation, which is costly on short inputs. Returns the decode metadata, or an error.
- write_u64 ๐