public void WrapForEncode(MDInstrumentDefinitionSpread parentMessage, DirectBuffer buffer, int count)
 {
     _parentMessage = parentMessage;
     _buffer = buffer;
     _dimensions.Wrap(buffer, parentMessage.Limit, _actingVersion);
     _dimensions.NumInGroup = (byte)count;
     _dimensions.BlockLength = (ushort)18;
     _index = -1;
     _count = count;
     _blockLength = 18;
     parentMessage.Limit = parentMessage.Limit + 3;
 }
 public MDInstrumentDefinitionSpread()
 {
     _parentMessage = this;
 }
 public void WrapForDecode(MDInstrumentDefinitionSpread parentMessage, DirectBuffer buffer, int actingVersion)
 {
     _parentMessage = parentMessage;
     _buffer = buffer;
     _dimensions.Wrap(buffer, parentMessage.Limit, actingVersion);
     _count = _dimensions.NumInGroup;
     _blockLength = _dimensions.BlockLength;
     _actingVersion = actingVersion;
     _index = -1;
     _parentMessage.Limit = parentMessage.Limit + 3;
 }