private TS_FP_COLORPOINTERATTRIBUTE ParseTsFpColorPointerAttribute(
byte updateHeader,
compressedType_Values compressionFlags,
UInt16 size,
byte[] updateData)
{
TS_FP_COLORPOINTERATTRIBUTE attribute = new TS_FP_COLORPOINTERATTRIBUTE();
// TS_FP_COLORPOINTERATTRIBUTE: updateHeader
attribute.updateHeader = updateHeader;
// TS_FP_COLORPOINTERATTRIBUTE: compressionFlags
attribute.compressionFlags = compressionFlags;
// TS_FP_COLORPOINTERATTRIBUTE: size
attribute.size = size;
// TS_FP_COLORPOINTERATTRIBUTE: colorPointerUpdateData
int index = 0;
attribute.colorPointerUpdateData = ParseTsColorPointerAttribute(updateData, ref index);
// Check if data length exceeded expectation
VerifyDataLength(updateData.Length, index, ConstValue.ERROR_MESSAGE_DATA_LENGTH_EXCEEDED);
return attribute;
}