pub struct Base32Unpadded;Expand description
RFC4648 lower case Base32 encoding without padding.
[a-z] [2-7]
0x61-0x7a, 0x32-0x37Trait Implementations§
Source§impl Clone for Base32Unpadded
impl Clone for Base32Unpadded
Source§fn clone(&self) -> Base32Unpadded
fn clone(&self) -> Base32Unpadded
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 Base32Unpadded
impl Debug for Base32Unpadded
Source§impl PartialEq for Base32Unpadded
impl PartialEq for Base32Unpadded
impl Copy for Base32Unpadded
impl Eq for Base32Unpadded
impl StructuralPartialEq for Base32Unpadded
Auto Trait Implementations§
impl Freeze for Base32Unpadded
impl RefUnwindSafe for Base32Unpadded
impl Send for Base32Unpadded
impl Sync for Base32Unpadded
impl Unpin for Base32Unpadded
impl UnwindSafe for Base32Unpadded
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.