Arrays |
Arrays that occur outside of a Variant are encoded as a sequence of elements preceded by the number of elements encoded as an Int32 value. If an array is Null then its length is encoded as -1. An array of zero length is different from an array that is Null so encoders and decoders shall preserve this distinction.
Multi-dimensional arrays can only be encoded within a Variant.