Function hex_simd::encode_as_str

source ·
pub fn encode_as_str<'d>(
    src: &[u8],
    dst: Out<'d, [u8]>,
    case: AsciiCase
) -> &'d mut str
Expand description

Encodes bytes to a hex string and returns &mut str.

case specifies the ascii case of output.

Panics

This function will panic if the length of dst is not enough.