[][src]Crate hx

general hex lib

Structs

Line

Line structure for hex output

Page

Page structure

Enums

Format

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

Functions

buf_to_array

Buffer to array.

func_out

Function wave out.

hex_binary

hex binary, takes u8

hex_lower_hex

hex lower hex, takes u8

hex_octal

hex octal, takes u8

hex_upper_hex

hex upper hex, takes u8

offset

offset column

print_byte

print byte to std out

print_offset

print offset to std out

run

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.