4 instantiations of ZstandardEncoder
System.IO.Compression (4)
System\IO\Compression\Zstandard\ZstandardStream.Compress.cs (2)
36_encoder = new ZstandardEncoder(ZstandardUtils.GetQualityFromCompressionLevel(compressionLevel)); 51_encoder = new ZstandardEncoder(compressionOptions);
System\IO\Compression\Zstandard\ZstandardStream.cs (2)
71_encoder = new ZstandardEncoder(); 103_encoder = new ZstandardEncoder(dictionary);
16 references to ZstandardEncoder
System.IO.Compression (16)
System\IO\Compression\Zstandard\ZstandardEncoder.cs (14)
25/// <summary>Initializes a new instance of the <see cref="ZstandardEncoder"/> class with default settings.</summary> 26/// <exception cref="IOException">Failed to create the <see cref="ZstandardEncoder"/> instance.</exception> 33/// <summary>Initializes a new instance of the <see cref="ZstandardEncoder"/> class with the specified quality level.</summary> 36/// <exception cref="IOException">Failed to create the <see cref="ZstandardEncoder"/> instance.</exception> 56/// <summary>Initializes a new instance of the <see cref="ZstandardEncoder"/> class with the specified dictionary.</summary> 59/// <exception cref="IOException">Failed to create the <see cref="ZstandardEncoder"/> instance.</exception> 76/// <summary>Initializes a new instance of the <see cref="ZstandardEncoder"/> class with the specified quality and window size.</summary> 80/// <exception cref="IOException">Failed to create the <see cref="ZstandardEncoder"/> instance.</exception> 104/// <summary>Initializes a new instance of the <see cref="ZstandardEncoder"/> class with the specified dictionary and window size.</summary> 109/// <exception cref="IOException">Failed to create the <see cref="ZstandardEncoder"/> instance.</exception> 133/// <summary>Initializes a new instance of the <see cref="ZstandardEncoder"/> class with the specified compression options.</summary> 137/// <exception cref="IOException">Failed to create the <see cref="ZstandardEncoder"/> instance.</exception> 447/// <summary>Releases all resources used by the <see cref="ZstandardEncoder"/>.</summary> 456ObjectDisposedException.ThrowIf(_disposed, nameof(ZstandardEncoder));
System\IO\Compression\Zstandard\ZstandardStream.Compress.cs (2)
13private ZstandardEncoder? _encoder; 60public ZstandardStream(Stream stream, ZstandardEncoder encoder, bool leaveOpen = false)