Function encode_to_slice
fn encode_to_slice<T: AsRef<[u8]>>(input: T, output: &mut [u8]) -> Result<(), FromHexError>
Encodes some bytes into a mutable slice of bytes.
The output buffer, has to be able to hold at least input.len() * 2 bytes,
otherwise this function will return an error.
Example
# use FromHexError;
#