//protected: protected override void DoLoad(ITableReader reader) { int allCount = (int)reader.ReadLong(); int ndxFirstDelFrame = (int)reader.ReadLong(); if (allCount <= ndxFirstDelFrame) { throw new CorruptedStreamException(); } m_frameCount = allCount; m_ndxFirstDelFrame = ndxFirstDelFrame; }
public void Load(ITableReader reader) { Debug.Assert(reader != null); foreach (byte b in Signature) { if (reader.ReadByte() != b) { throw new CorruptedStreamException(); } } DataPosition = reader.ReadLong(); TableVersion = reader.ReadUInt(); DateTime creation = reader.ReadTime(); DateTime access = reader.ReadTime(); DateTime write = reader.ReadTime(); uint nextId = reader.ReadUInt(); DoLoad(reader); LastWriteTime = write; LastAccessTime = access; CreationTime = creation; m_nextId = nextId; IsDirty = false; }
//protected: protected override void DoLoad(ITableReader reader) { int count = (int)reader.ReadLong(); DataCount = count; }