Expand description
BASE64 library for chads
Features
alloc- Enables usage of heap based collections;
API
- raw - Contains functions to work with raw pointers. Mostly unsafe.
- uninit - Contains functions to work with unintialized slices.
- vec - Contains high level functions that returns
Vec. Requiresallocfeature. - string - Contains high level functions that returns
String. Requiresallocfeature. - Codec - Wrapper that allows to pre-built lookup table for decoding. Useful if you want to safe tiny bit on building lookup table.
Modules
Low level functions
API that returns
StringFunctions to work with uninit memory
High level functions returning vector as convenience
Structs
BASE64 codec
Constants
Base64 padding character
Statics
Codec which uses
STANDARD_TABLEDefault character table used by based64
Codec which uses
URL_TABLEAlternative table URL safe.
Functions
Validates custom character table by requiring user to provide table of specific size
containing only ASCII characters.
Decoding function writing to slice.
Returns number of bytes necessary to decode provided input.
Encoding function writing to slice.
Returns number of bytes necessary to encode input of provided size (including padding).