public AcroOutput(AcroOutputOptions options) { this.options = options; channel = Channel.CreateUnbounded <OutputContext>(this.options.ChannelOptions); Writer = channel.Writer; if (options.UseArrayPool) { pool = ArrayPool <uint> .Shared; } }
public IAcroOutputBuilder ConfigureOptions(Action <AcroOutputOptions> configure) { if (options == null) { options = new AcroOutputOptions(); } configure(options); return(this); }