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