Expand description
Pure predicate helpers for transfer-corruption heuristics used by higher-level codec error reporting.
Functionsยง
- is_
ascii_ printable - Return
truefor ASCII-printable bytes. - is_
invalid_ comp3_ high_ nibble - Detect whether a packed-decimal high nibble can never be part of COMP-3 payload.
- is_
invalid_ comp3_ low_ nibble - Detect whether a packed-decimal non-terminal low nibble can never be part of COMP-3 payload.
- is_
invalid_ comp3_ sign_ nibble - Detect whether a packed-decimal sign nibble (last low nibble) is invalid.
- is_
likely_ corrupted_ ebcdic_ byte - Predicate for control/control-like bytes commonly seen in EBCDIC text.