Skip to main content

Module validate

Module validate 

Source
Expand description

Validation of tensogram messages and files.

Provides validate_message() for checking a single message buffer and validate_file() for checking all messages in a .tgm file, including detection of truncated or garbage bytes between messages.

Modules§

types
Types for the validation API.

Structs§

FileIssue
A file-level issue (not tied to a specific message).
FileValidationReport
Result of validating a .tgm file.
ValidateOptions
Options passed to validate_message.
ValidationIssue
A single validation finding.
ValidationReport
Result of validating a single message.

Enums§

IssueCode
Stable machine-readable issue codes.
IssueSeverity
Severity of a validation finding.
ValidationLevel
Validation levels, from lightest to most thorough.

Functions§

validate_buffer
Validate all messages in a byte buffer (may contain multiple messages).
validate_file
Validate all messages in a .tgm file.
validate_message
Validate a single message buffer.