[−][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 |
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_PLC | arg places |
Functions
| buf_to_array | Buffer to array. |
| 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 |
| 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. |