Trait base64_simd::FromBase64Encode
source · pub trait FromBase64Encode: Sized {
fn from_base64_encode(base64: &Base64, data: &[u8]) -> Self;
}
Expand description
Types that can represent a base64 string.
Required Methods§
sourcefn from_base64_encode(base64: &Base64, data: &[u8]) -> Self
fn from_base64_encode(base64: &Base64, data: &[u8]) -> Self
Encodes bytes to a base64 string and returns the self type.
Implementations on Foreign Types§
source§impl FromBase64Encode for Box<[u8]>
Available on crate feature alloc
only.
impl FromBase64Encode for Box<[u8]>
Available on crate feature
alloc
only.fn from_base64_encode(base64: &Base64, data: &[u8]) -> Self
source§impl FromBase64Encode for Box<str>
Available on crate feature alloc
only.
impl FromBase64Encode for Box<str>
Available on crate feature
alloc
only.fn from_base64_encode(base64: &Base64, data: &[u8]) -> Self
source§impl FromBase64Encode for Vec<u8>
Available on crate feature alloc
only.
impl FromBase64Encode for Vec<u8>
Available on crate feature
alloc
only.fn from_base64_encode(base64: &Base64, data: &[u8]) -> Self
source§impl FromBase64Encode for String
Available on crate feature alloc
only.
impl FromBase64Encode for String
Available on crate feature
alloc
only.