hexrec.utils#

Generic utility functions.

Functions

check_empty_args_kwargs

Checks for empty positional and keyword arguments.

chop

Chops a vector.

chop_blocks

Chops a sequence of items into blocks.

columnize

Splits and wraps a line into columns.

hexlify

Splits ans wraps byte data into hexadecimal columns.

parse_int

Parses an integer.

unhexlify

Converts a hexadecimal text line into bytes.