コード例 #1
0
        public StringBuilder AppendTo(StringBuilder builder)
        {
            GroupSizeEncodingDecoder writer = new GroupSizeEncodingDecoder();

            writer.Wrap(_buffer, _offset);

            return(writer.AppendTo(builder));
        }
コード例 #2
0
 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);
 }