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