Crate edhex_core[][src]

Structs

Byte
State

Enums

ByteCategory

Constants

COLOR_ASCII_OTHER
COLOR_ASCII_PRINTABLE
COLOR_ASCII_WHITESPACE
COLOR_NONASCII
COLOR_NULL

Functions

bad_range
bytes_from_string
bytes_line
bytes_line_range
chars_line
hex_unless_dec
hex_unless_dec_with_radix
index_of_bytes
lino
max_bytes_line
move_to

Returns new index

num_bytes_or_die
num_graphemes

.len gives the number of bytes .chars.count() gives the number of characters (which counts è as two characters. The human concept is unicode “graphemes” or “glyphs” defined to be what think they are.

padded_byte
string_from_bytes
string_from_radix