Table of Contents

Class MemoryStreamGZipOptionsExtensions

Namespace
KZDev.PerfUtils
Assembly
KZDev.PerfUtils.dll

Extension methods for MemoryStreamGZipOptions instances.

public static class MemoryStreamGZipOptionsExtensions
Inheritance
MemoryStreamGZipOptionsExtensions

Methods

WithCompressionLevel(MemoryStreamGZipOptions, CompressionLevel)

Sets the CompressionLevel property on the MemoryStreamGZipOptions instance.

WithCompressionStrategy(MemoryStreamGZipOptions, ZLibCompressionStrategy)

Sets the CompressionStrategy property on the MemoryStreamGZipOptions instance [Available in .NET 9.0 and later only].

WithZeroBufferBehavior(MemoryStreamGZipOptions, MemoryStreamSlimZeroBufferOption)

Sets the ZeroBufferBehavior property on the NewStreamOptions property value.