Skip to main content

decode_first_with_mask

Function decode_first_with_mask 

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

Decodes the first blob with an initial external mask and permits trailing bytes.

ยงErrors

Returns an error for malformed input or a mismatched mask.