public StringBuilder AppendTo(StringBuilder builder) { SnapshotRecordingsDecoder writer = new SnapshotRecordingsDecoder(); writer.Wrap(_buffer, _offset, BLOCK_LENGTH, SCHEMA_VERSION); return(writer.AppendTo(builder)); }
public void Wrap( SnapshotRecordingsDecoder parentMessage, IDirectBuffer buffer) { this._parentMessage = parentMessage; this._buffer = buffer; _dimensions.Wrap(buffer, parentMessage.Limit()); _blockLength = _dimensions.BlockLength(); _count = _dimensions.NumInGroup(); _index = -1; parentMessage.Limit(parentMessage.Limit() + HEADER_SIZE); }
public SnapshotRecordingsDecoder() { _parentMessage = this; }