public Xdbf(byte[] Data) { this.br = new CBinaryReader(EndianType.BigEndian, new MemoryStream(Data)); this.header = new XdbfHeader(this.br); this.entries = new XdbfTable(this.br, this.header); this.dataOffset = (uint)this.br.BaseStream.Position; }
public Xdbf(byte[] Data) { br = new CBinaryReader(EndianType.BigEndian, new MemoryStream(Data)); header = new XdbfHeader(br); entries = new XdbfTable(br, header); dataOffset = (uint)br.BaseStream.Position; }
public Xdbf(byte[] Data) { this.br = new CBinaryReader(EndianType.BigEndian, new MemoryStream(Data)); this.header = new XdbfHeader(this.br); this.entries = new XdbfTable(this.br, this.header); this.dataOffset = (uint) this.br.BaseStream.Position; }
public XdbfTable(CBinaryReader b, XdbfHeader header) { b.Seek(30L, SeekOrigin.Begin); for (int i = 0; i < header.NumEntries; i++) { base.Add(new XdbfTableEntry(b)); } while (b.PeekChar() == 0) { b.ReadByte(); } }