copybook-rdw-predicates 0.4.3

Single-purpose RDW header ASCII-heuristic predicate.
Documentation
  • Coverage
  • 100%
    4 out of 4 items documented0 out of 2 items with examples
  • Size
  • Source code size: 7.83 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 258.98 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 6s Average build duration of successful builds.
  • all releases: 6s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • EffortlessMetrics/copybook-rs
    0 0 4
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • EffortlessSteven

copybook-rdw-predicates

Single-responsibility microcrate for the RDW ASCII-digit header heuristic.

This crate contains the shared byte-level predicate used to quickly detect length-byte corruption patterns in RDW headers. It intentionally stays narrow:

  • rdw_is_suspect_ascii_corruption checks whether RDW length bytes look like ASCII digits.
  • rdw_is_suspect_ascii_corruption_slice applies the same predicate to a variable-length byte slice with bounds guarding.