ReadArrayLength
if (!ReadArrayLength(length) || !ReadArray(byte, length, &attr)) return NULL;
bool ReadArrayLength(uint32& length);