struct BlockBuffer {
bytes: [u8; 3],
position: usize,
}Expand description
Base64 encode buffer for a 1-block output.
This handles a partial block of data, i.e. data which hasn’t been
Fields§
§bytes: [u8; 3]3 decoded bytes to be encoded to a 4-byte Base64-encoded input.
position: usizePosition within the buffer.
Implementations§
Trait Implementations§
Source§impl Clone for BlockBuffer
impl Clone for BlockBuffer
Source§fn clone(&self) -> BlockBuffer
fn clone(&self) -> BlockBuffer
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 BlockBuffer
impl Debug for BlockBuffer
Source§impl Default for BlockBuffer
impl Default for BlockBuffer
Source§fn default() -> BlockBuffer
fn default() -> BlockBuffer
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BlockBuffer
impl RefUnwindSafe for BlockBuffer
impl Send for BlockBuffer
impl Sync for BlockBuffer
impl Unpin for BlockBuffer
impl UnwindSafe for BlockBuffer
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