The format is a very simple archive with a header, followed by each message in sequence. This format is only meant for transmitting bundles of messages, and not for storage, so no index is used to provide for random-access.
This format should be stored in files with a ".stb" extension.
Note: all multi-byte integers are in big-endian format unless otherwise specified. All fields without a value specified may be any value.
Size | Data Type | Value | Description |
17 | ASCII text | "SolarTech Archive" | File Type Identifier |
1 | unsigned byte | 0 | Bundling format version (used to indicate when incompatible changes happen) |
4 | unsigned int | The number of messages in this archive. | |
variable | data | The data payload. (The indicated number of sequences in the sequence storage format, concatenated together.) | |
2 | unsigned short | A 16 bit CRC-CCITT of the bundle (i.e. everything but this) |