Skip to main content

decode_with_mask

Function decode_with_mask 

Source
pub fn decode_with_mask(blob: &[u8], mask: &[u8]) -> Result<Decoded>
Expand description

Strictly decodes one blob with an initial external mask.

ยงErrors

Returns an error for malformed input, a mismatched mask, or trailing bytes.