public virtual void Read(BinaryReader reader, EventDescriptionBoard board) { Time = new Tick { Start = Durable.ReadTime(reader) }; int descriptionID = reader.ReadInt32(); Description = (0 <= descriptionID && descriptionID < board.Board.Count) ? board.Board[descriptionID] : null; }
public SyncEvent(BinaryReader reader) { Timestamp = new Tick() { Start = Durable.ReadTime(reader) }; OldThreadID = reader.ReadUInt64(); NewThreadID = reader.ReadUInt64(); CPUID = reader.ReadByte(); Reason = (SyncReason)reader.ReadByte(); }