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; })); }