Esempio n. 1
0
        public StringBuilder AppendTo(StringBuilder builder)
        {
            RecordingLogDecoder writer = new RecordingLogDecoder();

            writer.Wrap(_buffer, _offset, BLOCK_LENGTH, SCHEMA_VERSION);

            return(writer.AppendTo(builder));
        }
Esempio n. 2
0
 public void Wrap(
     RecordingLogDecoder 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);
 }
Esempio n. 3
0
 public RecordingLogDecoder()
 {
     _parentMessage = this;
 }