FixedUnion is a fixed-size union type where all variants must be fixed-size types of identical byte length.
The total byteLength is payloadByteLength + 4 (4-byte uint32 ItemId tag).
Compatibility note:
fixedUnion is a CCC extension for scenarios requiring fixed memory layouts (such as embedding
inside mol.struct, mol.array, or mol.vector as FixVec). While the standalone wire format
(4-byte tag + variant payload) is binary-compatible with a union encoding, composing it into
struct, array, or FixVec is not part of the standard upstream Molecule union schema specification.
FixedUnion is a fixed-size union type where all variants must be fixed-size types of identical byte length. The total byteLength is
payloadByteLength + 4(4-byte uint32 ItemId tag).Compatibility note:
fixedUnionis a CCC extension for scenarios requiring fixed memory layouts (such as embedding insidemol.struct,mol.array, ormol.vectoras FixVec). While the standalone wire format (4-byte tag + variant payload) is binary-compatible with a union encoding, composing it intostruct,array, or FixVec is not part of the standard upstream Molecule union schema specification.Migration guide: