urlencoding

Function decode_binary

Source
pub fn decode_binary(data: &[u8]) -> Cow<'_, [u8]>
Expand description

Decode percent-encoded string as binary data, in any encoding.

Unencoded + is preserved literally, and not changed to a space.