Crate hx

source ·
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 evaluate for traits implementation

Constants

Functions

  • append char representation of a byte to a buffer
  • Buffer to array.
  • get the color for a specific byte
  • 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.