Struct base64_t::Base64 [] [src]

pub struct Base64 { /* fields omitted */ }

Typesafe base64 encoded bytes with an encoding configuration.

Methods

impl Base64
[src]

[src]

Takes the same types base64::encode. Default encoding is STANDARD

[src]

Same as new, just specify a non-STANDARD Config.

Important traits for Vec<u8>
[src]

Decodes the encoded Base64, and cannot fail - you can only make a Base64 by encoding data.

[src]

Reference to the Config used to initalize this Base64.

Important traits for Vec<u8>
[src]

Reference to the encoded bytes, useful when you cannot send the whole struct somewhere.

Trait Implementations

Auto Trait Implementations

impl Send for Base64

impl Sync for Base64