Skip to main content

decode_bytes

Function decode_bytes 

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

Percent-decodes a byte slice.

Returns the input borrowed when no % is present. A % that is not followed by two hex digits is left in place.