Class MemoryStreamZLibOptionsExtensions
Extension methods for MemoryStreamZLibOptions instances.
public static class MemoryStreamZLibOptionsExtensions
- Inheritance
-
MemoryStreamZLibOptionsExtensions
Methods
- WithCompressionLevel(MemoryStreamZLibOptions, CompressionLevel)
Sets the CompressionLevel property on the MemoryStreamZLibOptions instance.
- WithCompressionStrategy(MemoryStreamZLibOptions, ZLibCompressionStrategy)
Sets the CompressionStrategy property on the MemoryStreamZLibOptions instance [Available in .NET 9.0 and later only].
- WithZeroBufferBehavior(MemoryStreamZLibOptions, MemoryStreamSlimZeroBufferOption)
Sets the ZeroBufferBehavior property on the NewStreamOptions property value.