Expand description
RDW header ASCII-digit detection helper.
This crate owns exactly one predicate: whether RDW length bytes look like ASCII digits and therefore likely represent ASCII-transfer corruption.
Constants§
- RDW_
HEADER_ LEN - RDW header size in bytes.
Functions§
- rdw_
is_ suspect_ ascii_ corruption - Returns
trueif the first two RDW header bytes are ASCII digits, indicating likely ASCII-transfer corruption. - rdw_
is_ suspect_ ascii_ corruption_ slice - Slice-based variant of
rdw_is_suspect_ascii_corruptionthat checks at least 4 bytes.