ReadInt64() public method

public ReadInt64 ( ) : long
return long
コード例 #1
0
        private void ReadPdbHeap()
        {
            PdbHeap    pdbHeap    = image.PdbHeap;
            ByteBuffer byteBuffer = new ByteBuffer(pdbHeap.data);

            pdbHeap.Id                  = byteBuffer.ReadBytes(20);
            pdbHeap.EntryPoint          = byteBuffer.ReadUInt32();
            pdbHeap.TypeSystemTables    = byteBuffer.ReadInt64();
            pdbHeap.TypeSystemTableRows = new uint[58];
            for (int i = 0; i < 58; i++)
            {
                Table table = (Table)i;
                if (pdbHeap.HasTable(table))
                {
                    pdbHeap.TypeSystemTableRows[i] = byteBuffer.ReadUInt32();
                }
            }
        }
コード例 #2
0
ファイル: ImageReader.cs プロジェクト: pureivan/XIL
        void ReadPdbHeap()
        {
            var heap = image.PdbHeap;

            var buffer = new ByteBuffer(heap.data);

            heap.Id                  = buffer.ReadBytes(20);
            heap.EntryPoint          = buffer.ReadUInt32();
            heap.TypeSystemTables    = buffer.ReadInt64();
            heap.TypeSystemTableRows = new uint [Mixin.TableCount];

            for (int i = 0; i < Mixin.TableCount; i++)
            {
                var table = (Table)i;
                if (!heap.HasTable(table))
                {
                    continue;
                }

                heap.TypeSystemTableRows [i] = buffer.ReadUInt32();
            }
        }
コード例 #3
0
ファイル: ImageReader.cs プロジェクト: jbevain/cecil
        void ReadPdbHeap()
        {
            var heap = image.PdbHeap;

            var buffer = new ByteBuffer (heap.data);

            heap.Id = buffer.ReadBytes (20);
            heap.EntryPoint = buffer.ReadUInt32 ();
            heap.TypeSystemTables = buffer.ReadInt64 ();
            heap.TypeSystemTableRows = new uint [Mixin.TableCount];

            for (int i = 0; i < Mixin.TableCount; i++) {
                var table = (Table) i;
                if (!heap.HasTable (table))
                    continue;

                heap.TypeSystemTableRows [i] = buffer.ReadUInt32 ();
            }
        }