예제 #1
0
파일: Tag.cs 프로젝트: thekoder/brofiler
        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;
        }
예제 #2
0
 public SyncEvent(BinaryReader reader)
 {
     Timestamp = new Tick()
     {
         Start = Durable.ReadTime(reader)
     };
     OldThreadID = reader.ReadUInt64();
     NewThreadID = reader.ReadUInt64();
     CPUID       = reader.ReadByte();
     Reason      = (SyncReason)reader.ReadByte();
 }