Method WithQuality
WithQuality(MemoryStreamBrotliOptions, int)
Sets the Quality property on the MemoryStreamBrotliOptions instance [Available in .NET 9.0 and later only].
public static MemoryStreamBrotliOptions WithQuality(this MemoryStreamBrotliOptions options, int quality)
Parameters
optionsMemoryStreamBrotliOptionsThe MemoryStreamBrotliOptions instance to modify.
qualityintThe compression quality for the Brotli compression.
Returns
- MemoryStreamBrotliOptions
A new MemoryStreamBrotliOptions instance with the specified compression quality value.