Enum ArrayKind
- Namespace
- sofab
- Assembly
- SofaBuffers.dll
Element category of an array field, reported to an IVisitor via ArrayBegin(int, ArrayKind, int) just before the elements are delivered.
public enum ArrayKind
Fields
Unsigned = 0Unsigned-integer elements, delivered through Unsigned(int, ulong).
Signed = 1Signed-integer elements, delivered through Signed(int, long).
Fp32 = 232-bit float elements, delivered through Fp32(int, float).
Fp64 = 364-bit float elements, delivered through Fp64(int, double).
Remarks
A fixlen array names its element subtype here — Fp32 or Fp64, never a collapsed "fixlen" category. CORELIB_PLAN §4.8 requires the subtype to decide whether the field is this array's value at all (MESSAGE_SPEC §7.3) before any schema bound is applied, so the receiver must be able to tell the two apart from the header hook alone. The ordinals are shared across every push-API corelib in the family.