예제 #1
0
        static BufferLogRecord ReadRecord(byte[] recordBuffer)
        {
            var record = new BufferLogRecord();

            record.ReadFrom(recordBuffer);
            return(record);
        }
 public BufferLogRecord TryReadRecordBufferAt(long position)
 {
     return(TryReadAt(position, recordBuffer =>
     {
         var record = new BufferLogRecord();
         record.ReadFrom(recordBuffer);
         return record;
     }));
 }