Skip to main content
Version: v0.0.6

Interface: FrameOptions

Options for decodeAstmFrames. Lenient by default (Postel's Law).

Properties

strict?

readonly optional strict?: boolean

When true, escalate any tolerated frame deviation (bad checksum, sequence gap, unterminated, oversize) to a thrown AstmFrameStrictError instead of accumulating a warning. Off by default.