Struct base64_simd::Base64[][src]

pub struct Base64 { /* fields omitted */ }
Expand description

Implementations

Encodes src and writes to dst.

Errors

This function returns Err if:

  • The length of dst is not enough.

Decodes src and writes to dst.

Errors

This function returns Err if:

  • The length of dst is not enough.
  • The content of src is invalid.

Encodes src and returns Box<str>

Decodes src and returns Box<[u8]>

Errors

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.

Panics

This function panics if any of the conditions below is not satisfied:

  • n <= isize::MAX

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.