Function hex_simd::encode[][src]

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

Encodes src with a given ascii case and writes to dst.

Errors

This function returns Err if:

  • The length of dst is not enough.