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§
- File
Issue - A file-level issue (not tied to a specific message).
- File
Validation Report - Result of validating a
.tgmfile. - Validate
Options - Options passed to
validate_message. - Validation
Issue - A single validation finding.
- Validation
Report - Result of validating a single message.
Enums§
- Issue
Code - Stable machine-readable issue codes.
- Issue
Severity - Severity of a validation finding.
- Validation
Level - 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
.tgmfile. - validate_
message - Validate a single message buffer.