Interface: FrameChecksum
A frame's checksum verdict: the modulo-256 value recomputed from the frame's
bytes, the value declared on the wire (or undefined when it was unreadable),
and whether they matched.
Properties
computed
readonlycomputed:number
The modulo-256 checksum recomputed over the frame (frame number through terminator).
declared?
readonlyoptionaldeclared?:number
The checksum declared on the wire (the two hex chars after the terminator), read
case-insensitively; undefined when those bytes were missing or not hex.
valid
readonlyvalid:boolean
true only when a declared checksum was present and equal to computed.