Expand description
general hex lib
Structs§
Enums§
- Format
- nothing ⇒ Display ? ⇒ Debug o ⇒ Octal x ⇒ LowerHex X ⇒ UpperHex p ⇒ Pointer b ⇒ Binary e ⇒ LowerExp E ⇒ UpperExp evaluate for traits implementation
Constants§
- ARG_ARR
- arg array
- ARG_CLR
- arg color
- ARG_COL
- arg cols
- ARG_FMT
- arg format
- ARG_FNC
- arg func
- ARG_INP
- arg INPUTFILE
- ARG_LEN
- arg len
- ARG_PFX
- arg prefix
- ARG_PLC
- arg places
Functions§
- append_
ascii - append char representation of a byte to a buffer
- buf_
to_ array - Buffer to array.
- byte_
to_ color - get the color for a specific byte
- is_
stdin - Detect stdin, file path and/or parameters.
- offset
- offset column
- output_
array - Output source code array format.
- output_
function - Function wave out.
- 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.