2.2.1.3.3.2 Variables with WDSCPL_VAR_ARRAY Type Modifier
For fixed length data types the Value-Length field SHOULD be set to the size in bytes as specified in section 2.2.1.3.2.1.
For variable length data types the Value-Length field MUST specify the total number of bytes containing the value.
The Array-Size field specifies the number of elements contained in the array and MUST NOT be zero.
The total number of bytes that hold the value for a variable are obtained by arithmetic multiplication of Value-Length and Array-Size.
The individual elements of the array are accessed using a 0-based index with a maximum value for the index being (Array-Size - 1).
To access a value at a specified index, multiply the Value-Length by the index to obtain an offset into the Variable-Value field. The Value-Length field specifies the number of bytes to read at the derived offset in order to read the value at that index.