Method WithCompressionLevel
WithCompressionLevel(MemoryStreamBrotliOptions, CompressionLevel)
Sets the CompressionLevel property on the MemoryStreamBrotliOptions instance.
public static MemoryStreamBrotliOptions WithCompressionLevel(this MemoryStreamBrotliOptions options, CompressionLevel compressionLevel)
Parameters
optionsMemoryStreamBrotliOptionsThe MemoryStreamBrotliOptions instance to modify.
compressionLevelCompressionLevelThe compression level to set.
Returns
- MemoryStreamBrotliOptions
A new MemoryStreamBrotliOptions instance with the specified compression level.