base64_simd

Trait AppendBase64Decode

Source
pub trait AppendBase64Decode: FromBase64Decode {
    // Required method
    fn append_base64_decode(
        base64: &Base64,
        src: &[u8],
        dst: &mut Self,
    ) -> Result<(), Error>;
}
Expand description

Types that can append bytes decoded from from a base64 string.

Required Methods§

Source

fn append_base64_decode( base64: &Base64, src: &[u8], dst: &mut Self, ) -> Result<(), Error>

Decodes a base64 string to bytes and appends to the self type.

§Errors

This function returns Err if the content of src is invalid.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl AppendBase64Decode for Vec<u8>

Source§

fn append_base64_decode( base64: &Base64, src: &[u8], dst: &mut Self, ) -> Result<(), Error>

Implementors§