microrti-encoding 0.2.1

HLA 4 data encoding of IEEE 1516.2-2025: basic types, strings, handles, arrays, records, variant records and a FOM-driven codec.
Documentation
//! Handle elements (12.2, 12.11.4.2): a handle travels inside attribute and parameter values as the MIM
//! array datatype of the same name, an `HLAvariableArray` of `HLAbyte` holding the handle's encoded form.
//!
//! The octets are whatever the RTI handed out. They are opaque here and are not validated when decoding.

use crate::strings::octet_array_element;

octet_array_element! {
    /// `HLAfederateHandle`: the encoded form of a federate handle.
    HLAfederateHandle
}
octet_array_element! {
    /// `HLAobjectClassHandle`: the encoded form of an object class handle.
    HLAobjectClassHandle
}
octet_array_element! {
    /// `HLAattributeHandle`: the encoded form of an attribute handle.
    HLAattributeHandle
}
octet_array_element! {
    /// `HLAinteractionClassHandle`: the encoded form of an interaction class handle.
    HLAinteractionClassHandle
}
octet_array_element! {
    /// `HLAparameterHandle`: the encoded form of a parameter handle.
    HLAparameterHandle
}
octet_array_element! {
    /// `HLAobjectInstanceHandle`: the encoded form of an object instance handle.
    HLAobjectInstanceHandle
}
octet_array_element! {
    /// `HLAdimensionHandle`: the encoded form of a dimension handle.
    HLAdimensionHandle
}
octet_array_element! {
    /// `HLAregionHandle`: the encoded form of a region handle.
    HLAregionHandle
}
octet_array_element! {
    /// `HLAtransportationTypeHandle`: the encoded form of a transportation type handle.
    HLAtransportationTypeHandle
}
octet_array_element! {
    /// `HLAmessageRetractionHandle`: the encoded form of a message retraction handle.
    HLAmessageRetractionHandle
}