Open peku33 opened 4 years ago
At the moment there is no way to choose between case mode when using allocation free encode_to_slice. Current behavior defaults to lowercase.
encode_to_slice
My proposal is to: change encode_to_slice -> encode_to_slice_lower addencode_to_slice_upper`
encode_to_slice_lower add
let (high, low) = byte2hex(*byte, HEX_CHARS_LOWER); HEX_CHARS_LOWER could be easily parametrized
let (high, low) = byte2hex(*byte, HEX_CHARS_LOWER);
HEX_CHARS_LOWER
At the moment there is no way to choose between case mode when using allocation free
encode_to_slice
. Current behavior defaults to lowercase.My proposal is to: change
encode_to_slice
->encode_to_slice_lower add
encode_to_slice_upper`let (high, low) = byte2hex(*byte, HEX_CHARS_LOWER);
HEX_CHARS_LOWER
could be easily parametrized