pub fn forgiving_decode_inplace(data: &mut [u8]) -> Result<&mut [u8], Error>
Expand description

Forgiving decodes a base64 string to bytes and writes inplace.

This function uses the standard charset.

See https://infra.spec.whatwg.org/#forgiving-base64

Errors

This function returns Err if the content of data is invalid.