/// <summary> /// Set the <see cref="Cumulator" /> function used by this decoder. /// </summary> public void SetCumulator(Cumulator cumulator) { Contract.Requires(cumulator != null); _cumulator = cumulator; }
/// <summary> /// Set the <seealso cref="Cumulator"/> to use for cumulate the received <seealso cref="IByteBuffer"/>s. /// </summary> public virtual void setCumulator(Cumulator cumulator) { this.cumulator = cumulator ?? throw new NullReferenceException("cumulator"); }