Expand description
A simple, no-dependencies crate for converting a number of bytes into a strongly-typed (stack-allocated) representation of the “prettified” version of those bytes.
Compatible with serde
when the serde
feature is enabled.
Structs§
- Pretty
Bytes - Struct that represents prettified byte values (base-10)
- Pretty
Bytes Binary - Struct that represents prettified byte values (base-2)
Functions§
- pretty_
bytes - Convert a byte value to a “prettified” version
- pretty_
bytes_ binary - Convert a byte value to a “prettified” version
- pretty_
bytes_ signed - Convert a byte value to a “prettified” version, but accepts negative numbers
- pretty_
bytes_ signed_ binary - Convert a byte value to a “prettified” version, but accepts negative numbers