Crate hx[][src]

Expand description

general hex lib

Structs

Line structure for hex output

Page structure

Enums

nothing ⇒ Display ? ⇒ Debug o ⇒ Octal x ⇒ LowerHex X ⇒ UpperHex p ⇒ Pointer b ⇒ Binary e ⇒ LowerExp E ⇒ UpperExp evaulate for traits implementation

Constants

arg array

arg color

arg cols

arg format

arg func

arg INPUTFILE

arg len

arg places

Functions

append char representation of a byte to a buffer

Buffer to array.

get the color for a specific byte

hex binary, takes u8

hex lower hex, takes u8

hex octal, takes u8

hex upper hex, takes u8

Detect stdin, file path and/or parameters.

offset column

Output source code array format.

Function wave out.

print byte to std out

print offset to std out

In most hex editor applications, the data of the computer file is represented as hexadecimal values grouped in 4 groups of 4 bytes (or two groups of 8 bytes), followed by one group of 16 printable ASCII characters which correspond to each pair of hex values (each byte). Non-printable ASCII characters (e.g., Bell) and characters that would take more than one character space (e.g., tab) are typically represented by a dot (“.”) in the following ASCII field.