2.2.5.2.3 BYTE_VECTOR

The BYTE_VECTOR structure encapsulates a variable-length array of octets (or bytes) that are stored consecutively. The BYTE_VECTOR structure is used in the following structures: 

  • CHECKSUM structure (section 2.2.5.1.3)

  • EXTENSION structure (section 2.2.5.1.4)

  • EXCHANGE_MESSAGE structure (section 2.2.6.4)

     struct
     {
       ULONG ByteArrayOffset; 
       ULONG ByteArrayLength; 
     } BYTE_VECTOR; 
    

ByteArrayOffset: A ULONG type array. Each element contains 1 byte.

ByteArrayLength: A ULONG type that contains the length of the ByteArrayOffset field.