4 instantiations of ZstandardEncoder
System.IO.Compression.Zstandard (4)
System\IO\Compression\ZstandardStream.Compress.cs (2)
36
_encoder = new
ZstandardEncoder
(ZstandardUtils.GetQualityFromCompressionLevel(compressionLevel));
51
_encoder = new
ZstandardEncoder
(compressionOptions);
System\IO\Compression\ZstandardStream.cs (2)
69
_encoder = new
ZstandardEncoder
();
101
_encoder = new
ZstandardEncoder
(dictionary);
16 references to ZstandardEncoder
System.IO.Compression.Zstandard (16)
System\IO\Compression\ZstandardEncoder.cs (14)
23
/// <summary>Initializes a new instance of the <see cref="
ZstandardEncoder
"/> class with default settings.</summary>
24
/// <exception cref="IOException">Failed to create the <see cref="
ZstandardEncoder
"/> instance.</exception>
31
/// <summary>Initializes a new instance of the <see cref="
ZstandardEncoder
"/> class with the specified quality level.</summary>
34
/// <exception cref="IOException">Failed to create the <see cref="
ZstandardEncoder
"/> instance.</exception>
54
/// <summary>Initializes a new instance of the <see cref="
ZstandardEncoder
"/> class with the specified dictionary.</summary>
57
/// <exception cref="IOException">Failed to create the <see cref="
ZstandardEncoder
"/> instance.</exception>
74
/// <summary>Initializes a new instance of the <see cref="
ZstandardEncoder
"/> class with the specified quality and window size.</summary>
78
/// <exception cref="IOException">Failed to create the <see cref="
ZstandardEncoder
"/> instance.</exception>
102
/// <summary>Initializes a new instance of the <see cref="
ZstandardEncoder
"/> class with the specified dictionary and window size.</summary>
107
/// <exception cref="IOException">Failed to create the <see cref="
ZstandardEncoder
"/> instance.</exception>
131
/// <summary>Initializes a new instance of the <see cref="
ZstandardEncoder
"/> class with the specified compression options.</summary>
135
/// <exception cref="IOException">Failed to create the <see cref="
ZstandardEncoder
"/> instance.</exception>
445
/// <summary>Releases all resources used by the <see cref="
ZstandardEncoder
"/>.</summary>
454
ObjectDisposedException.ThrowIf(_disposed, nameof(
ZstandardEncoder
));
System\IO\Compression\ZstandardStream.Compress.cs (2)
13
private
ZstandardEncoder
? _encoder;
60
public ZstandardStream(Stream stream,
ZstandardEncoder
encoder, bool leaveOpen = false)