Skip to content

encode_to_slice with _upper and _lower variants #45

@peku33

Description

@peku33

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

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions