The TS_CD_HEADER structure is used to describe compressed bitmap data.
file:///C:/ts_dev/TestSuites/MS-RDPBCGR/TestSuite/Src/TD/latest_XMLS_16may/RDPBCGR/ _rfc_ms-rdpbcgr2_1_9_1_1_3_1_2_1.xml
        /// <summary>
        /// Parse TS_CD_HEADER
        /// (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_CD_HEADER</returns>
        private TS_CD_HEADER ParseTsCdHeader(byte[] data, ref int currentIndex)
        {
            TS_CD_HEADER header = new TS_CD_HEADER();

            // TS_CD_HEADER: cbCompFirstRowSize
            header.cbCompFirstRowSize = (cbCompFirstRowSize_Values)ParseUInt16(data, ref currentIndex, false);

            // TS_CD_HEADER: cbCompMainBodySize
            header.cbCompMainBodySize = ParseUInt16(data, ref currentIndex, false);

            // TS_CD_HEADER: cbScanWidth
            header.cbScanWidth = ParseUInt16(data, ref currentIndex, false);

            // TS_CD_HEADER: cbUncompressedSize
            header.cbUncompressedSize = ParseUInt16(data, ref currentIndex, false);

            return header;
        }