microrti-encoding 0.3.0

HLA 4 data encoding of IEEE 1516.2-2025: basic types, strings, handles, arrays, records, variant records and a FOM-driven codec.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# microrti-encoding

HLA data encoding (IEEE 1516.2): basic types, strings, arrays, fixed and variant records, and with the feature `fom` a codec driven by the datatypes of a FOM.

The encodings follow IEEE Std 1516.2-2025 4.14: the basic data representations of table 29 (and, in the
FOM-driven codec, user-defined ones of any size up to 1024 bits), the octet boundaries and zero padding of
4.14.10, and the predefined encodings `HLAfixedRecord`, `HLAvariantRecord`, `HLAextendableVariantRecord`,
`HLAfixedArray` and `HLAvariableArray` of 4.14.10.1 to 4.14.10.5. Encoding writes zero padding; the
standard asks it of the sender only, and decoding ignores what padding holds. Where the standard does not
say what a receiver does with octets that make the layout unreadable (a negative count or length, an
alternative that does not fill its announced length), decoding refuses them without panicking.

Part of [MicroRTI](https://github.com/microrti/microrti), an implementation of HLA 4 (IEEE Std
1516-2025, 1516.1-2025 and 1516.2-2025) in Rust. Licensed under Apache-2.0.