/// <summary> /// Parse TS_POINTERATTRIBUTE /// (parser index is updated according to parsed length) /// </summary> /// <param name="data">data to be parsed</param> /// <param name="currentIndex">current parser index</param> /// <returns>TS_POINTERATTRIBUTE</returns> private TS_POINTERATTRIBUTE ParseTsPointerAttribute(byte[] data, ref int currentIndex) { TS_POINTERATTRIBUTE attribute = new TS_POINTERATTRIBUTE(); // TS_POINTERATTRIBUTE: xorBpp attribute.xorBpp = ParseUInt16(data, ref currentIndex, false); // TS_POINTERATTRIBUTE: attribute attribute.colorPtrAttr = ParseTsColorPointerAttribute(data, ref currentIndex); return attribute; }