Function base64::encode_engine_slice
source ยท pub fn encode_engine_slice<E: Engine, T: AsRef<[u8]>>(
input: T,
output_buf: &mut [u8],
engine: &E,
) -> Result<usize, EncodeSliceError>
๐Deprecated since 0.21.0: Use Engine::encode_slice
Expand description
Encode arbitrary octets as base64 into a supplied slice.
See Engine::encode_slice.