pub fn decode<'s, 'd>(
    src: &'s [u8],
    dst: OutBuf<'d>
) -> Result<&'d mut [u8], Error>
Expand description

Decodes src case-insensitively and writes to dst.

Errors

This function returns Err if:

  • The length of dst is not enough.
  • The content of src is invalid.