Struct subtle_encoding::base64::Base64[][src]

pub struct Base64 {}

Base64 Encoding (traditional non-URL-safe RFC 4648 version)

Character set: [A-Z], [a-z], [0-9], +, /

Trait Implementations

impl Copy for Base64
[src]

impl Clone for Base64
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Base64
[src]

Formats the value using the given formatter. Read more

impl Default for Base64
[src]

Returns the "default value" for a type. Read more

impl Eq for Base64
[src]

impl Hash for Base64
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for Base64
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl PartialOrd for Base64
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for Base64
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl Encoding for Base64
[src]

Encode the given slice into the destination buffer. Read more

Calculate the length of the given data after encoding.

Decode hexadecimal (upper or lower case) with branchless / secret-independent logic

Calculate the length of the given data after decoding.

Encode the given buffer, returning a Vec<u8>

Encode the given slice to a String with this Encoding. Read more

Encode the given slice with this Encoding, writing the result to the supplied io::Write type, returning the number of bytes written or a Error. Read more

Encode self and write it to a file at the given path, returning the resulting File or a Error. Read more

Decode the given buffer, returning a Vec<u8>

Decode the given string-alike type with this Encoding, returning the decoded value or a Error. Read more

Decode the data read from the given io::Read type with this Encoding, returning the decoded value or a Error. Read more

Read a file at the given path, decoding the data it contains using the provided Encoding, returning the decoded value or a Error. Read more

Auto Trait Implementations

impl Send for Base64

impl Sync for Base64