public INDEXData(uint offset_buf, MBOBuffer bufTable)
            {
                m_offset   = offset_buf;
                m_bufTable = bufTable;
                count      = m_bufTable.GetUshort(m_offset);
                size       = 2;

                if (count > 0)
                {
                    offSize = m_bufTable.GetByte(m_offset + 2);

                    lastOffset = GetOffset(count);

                    size += (uint)offSize * ((uint)count + 1)
                            + lastOffset;
                }
            }
 // Offset is absolute within MBOBuffer
 public void Populate( MBOBuffer b, uint offset )
 {
     startUnicodeValue = b.GetUint24( offset );
     additionalCount = b.GetByte( offset + 3 );
 }
Beispiel #3
0
            public INDEXData(uint offset_buf, MBOBuffer bufTable)
            {
                m_offset = offset_buf;
                m_bufTable = bufTable;
                count = m_bufTable.GetUshort(m_offset);
                size = 2;

                if ( count > 0 )
                {
                    offSize = m_bufTable.GetByte(m_offset + 2 );

                    lastOffset = GetOffset( count );

                    size += (uint) offSize * ( (uint) count + 1 )
                        + lastOffset;
                }
            }