pub struct Base32Upper;Expand description
RFC4648 upper case Base32 encoding with = padding.
[A-Z] [2-7]
0x41-0x5a, 0x32-0x37Trait Implementations§
Source§impl Clone for Base32Upper
impl Clone for Base32Upper
Source§fn clone(&self) -> Base32Upper
fn clone(&self) -> Base32Upper
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Base32Upper
impl Debug for Base32Upper
Source§impl PartialEq for Base32Upper
impl PartialEq for Base32Upper
impl Copy for Base32Upper
impl Eq for Base32Upper
impl StructuralPartialEq for Base32Upper
Auto Trait Implementations§
impl Freeze for Base32Upper
impl RefUnwindSafe for Base32Upper
impl Send for Base32Upper
impl Sync for Base32Upper
impl Unpin for Base32Upper
impl UnwindSafe for Base32Upper
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Encoding for Twhere
T: Alphabet,
impl<T> Encoding for Twhere
T: Alphabet,
Source§fn decode(src: impl AsRef<[u8]>, dst: &mut [u8]) -> Result<&[u8], Error>
fn decode(src: impl AsRef<[u8]>, dst: &mut [u8]) -> Result<&[u8], Error>
Decode a Base32-encoded string into the provided output buffer,
returning a slice containing the decoded data.
Source§fn decode_vec(input: &str) -> Result<Vec<u8>, Error>
fn decode_vec(input: &str) -> Result<Vec<u8>, Error>
Available on crate feature
alloc only.Decode a Base32 string into a byte vector.
Source§fn encode<'a>(src: &[u8], dst: &'a mut [u8]) -> Result<&'a str, Error>
fn encode<'a>(src: &[u8], dst: &'a mut [u8]) -> Result<&'a str, Error>
Encode the input byte slice as Base32. Read more
Source§fn encode_string(input: &[u8]) -> String
fn encode_string(input: &[u8]) -> String
Available on crate feature
alloc only.Encode input byte slice into a
String containing Base32.Source§fn encoded_len(bytes: &[u8]) -> usize
fn encoded_len(bytes: &[u8]) -> usize
Get the length of Base32 produced by encoding the given bytes.