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