private TS_BITMAPCODEC ParseTsBitmapCodec(byte[] data, ref int currentIndex)
{
TS_BITMAPCODEC codec = new TS_BITMAPCODEC();
// TS_BITMAPCODEC: codecGUID
codec.codecGUID = ParseTsBitmapCodecGuid(data, ref currentIndex);
// TS_BITMAPCODEC: codecID
codec.codecID = ParseByte(data, ref currentIndex);
// TS_BITMAPCODEC: codecPropertiesLength
codec.codecPropertiesLength = ParseUInt16(data, ref currentIndex, false);
// TS_BITMAPCODEC: codecProperties
codec.codecProperties = GetBytes(data, ref currentIndex, (int)codec.codecPropertiesLength);
return codec;
}