Table of Contents

Method WithCompressionLevel

Namespace
KZDev.PerfUtils
Assembly
KZDev.PerfUtils.dll

WithCompressionLevel(MemoryStreamBrotliOptions, CompressionLevel)

Sets the CompressionLevel property on the MemoryStreamBrotliOptions instance.

public static MemoryStreamBrotliOptions WithCompressionLevel(this MemoryStreamBrotliOptions options, CompressionLevel compressionLevel)

Parameters

options MemoryStreamBrotliOptions

The MemoryStreamBrotliOptions instance to modify.

compressionLevel CompressionLevel

The compression level to set.

Returns

MemoryStreamBrotliOptions

A new MemoryStreamBrotliOptions instance with the specified compression level.