qos_hex 0.14.1

Utilities for encoding and decoding hex strings
Documentation
1
2
3
4
5
6
7
# `qos_hex`

Utilities for encoding and decoding hex strings in `QuorumOS` crates.

Use `encode` and `encode_to_vec` to produce lowercase hex, and `decode`, `decode_to_buf`, `decode_from_vec`, or `FromHex` to decode hex into byte buffers, arrays, or vectors.

Enable the `serde` feature for `#[serde(with = "qos_hex::serde")]` helpers, including optional hex-encoded fields through `qos_hex::serde::option`.