pub struct Base64 { /* fields omitted */ }
Expand description
Encodes src
and writes to dst
.
This function returns Err
if:
- The length of
dst
is not enough.
Decodes src
and writes to dst
.
This function returns Err
if:
- The length of
dst
is not enough.
- The content of
src
is invalid.
Decodes src
and returns Box<[u8]>
This function returns Err
if:
- The content of
src
is invalid.
Standard charset with padding.
Standard charset without padding.
URL-safe charset with padding.
URL-safe charset without padding.
Calcuates the encoding length.
This function panics if any of the conditions below is not satisfied:
Formats the value using the given formatter. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.