Crate extfmt [] [src]

A crate with extended formatting options for ceratin types.

Macros

hexdump

Create a hexdump of the given value using the AsHexdump trait. It is implemented by default for Sized types and for [u8].

Structs

CommaSeparated

Format a slice in a Rust syntax. Supports formatting using the following traits: - Display - Debug - Binary - Octal - LowerHex, UpperHex - LowerExp, UpperExp - Pointer

Hexdump

A formatting aid for pretty-printing a byte buffer, not unlike the hexdump utility.

Hexlify

Formats a byte-buffer as a series of concatanated hex-pairs.

Traits

AsHexdump

A utility trait used to create Hexdump objects.