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

Encodes src to dst and returns &mut str.

Errors

This function returns Err if:

  • The length of dst is not enough.