public void Wrap( RecoveryPlanEncoder parentMessage, IMutableDirectBuffer buffer, int count) { if (count < 0 || count > 65534) { throw new ArgumentException("count outside allowed range: count=" + count); } this._parentMessage = parentMessage; this._buffer = buffer; _dimensions.Wrap(buffer, parentMessage.Limit()); _dimensions.BlockLength((ushort)64); _dimensions.NumInGroup((ushort)count); _index = -1; this._count = count; parentMessage.Limit(parentMessage.Limit() + HEADER_SIZE); }
public RecoveryPlanEncoder() { _parentMessage = this; }