Function base65536::decode_config
[−]
[src]
pub fn decode_config<T: ?Sized + AsRef<str>>(
input: &T,
config: Config
) -> DecodeResult<Vec<u8>>
Decode from string reference as octets.
Note that decode_config
and friends are very strict by default, even
failing on line breaks, as to match behaviour with the original
implementation. To prevent this, instead use with the ignore_garbage
option, as such:
let output = decode_config(input, Config::new().ignore_garbage(true))?;