Struct base64::display::Base64Display
source · pub struct Base64Display<'a, 'e, E: Engine> { /* private fields */ }
Expand description
A convenience wrapper for base64’ing bytes into a format string without heap allocation.
Implementations§
source§impl<'a, 'e, E: Engine> Base64Display<'a, 'e, E>
impl<'a, 'e, E: Engine> Base64Display<'a, 'e, E>
sourcepub fn new(bytes: &'a [u8], engine: &'e E) -> Base64Display<'a, 'e, E>
pub fn new(bytes: &'a [u8], engine: &'e E) -> Base64Display<'a, 'e, E>
Create a Base64Display
with the provided engine.