5 instantiations of ZstandardStream
Microsoft.AspNetCore.RequestDecompression (1)
ZstandardDecompressionProvider.cs (1)
16return new ZstandardStream(stream, CompressionMode.Decompress, leaveOpen: true);
Microsoft.AspNetCore.RequestDecompression.Tests (1)
RequestDecompressionMiddlewareTests.cs (1)
81new ZstandardStream(compressedContent, CompressionMode.Compress);
Microsoft.AspNetCore.ResponseCompression (1)
ZstandardCompressionProvider.cs (1)
36return new ZstandardStream(outputStream, Options.CompressionOptions, leaveOpen: true);
Microsoft.AspNetCore.ResponseCompression.Tests (1)
ResponseCompressionMiddlewareTest.cs (1)
1378using var zstdStream = new ZstandardStream(compressedStream, CompressionMode.Decompress);
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\DecompressionHandler.cs (1)
453new ZstandardStream(originalStream, CompressionMode.Decompress);
19 references to ZstandardStream
Microsoft.AspNetCore.RequestDecompression.Tests (2)
DefaultRequestDecompressionProviderTests.cs (2)
17[InlineData("zstd", typeof(ZstandardStream))] 18[InlineData("ZSTD", typeof(ZstandardStream))]
Microsoft.AspNetCore.ResponseCompression.Tests (1)
ResponseCompressionMiddlewareTest.cs (1)
1378using var zstdStream = new ZstandardStream(compressedStream, CompressionMode.Decompress);
System.IO.Compression (16)
System\IO\Compression\Zstandard\ZstandardStream.Compress.cs (7)
15/// <summary>Initializes a new instance of the <see cref="ZstandardStream" /> class by using the specified stream and compression level.</summary> 23/// <summary>Initializes a new instance of the <see cref="ZstandardStream" /> class by using the specified stream and compression level, and optionally leaves the stream open.</summary> 26/// <param name="leaveOpen"><see langword="true" /> to leave the stream open after the <see cref="ZstandardStream" /> object is disposed; otherwise, <see langword="false" />.</param> 39/// <summary>Initializes a new instance of the <see cref="ZstandardStream" /> class by using the specified stream, options, and optionally leaves the stream open.</summary> 42/// <param name="leaveOpen"><see langword="true" /> to leave the stream open after the <see cref="ZstandardStream" /> object is disposed; otherwise, <see langword="false" />.</param> 54/// <summary>Initializes a new instance of the <see cref="ZstandardStream" /> class by using the specified stream and encoder instance.</summary> 57/// <param name="leaveOpen"><see langword="true" /> to leave the stream open after the <see cref="ZstandardStream" /> object is disposed; otherwise, <see langword="false" />.</param>
System\IO\Compression\Zstandard\ZstandardStream.cs (7)
57/// <summary>Initializes a new instance of the <see cref="ZstandardStream" /> class by using the specified stream and compression mode, and optionally leaves the stream open.</summary> 60/// <param name="leaveOpen"><see langword="true" /> to leave the stream open after the <see cref="ZstandardStream" /> object is disposed; otherwise, <see langword="false" />.</param> 79/// <summary>Initializes a new instance of the <see cref="ZstandardStream" /> class by using the specified stream and compression mode.</summary> 86/// <summary>Initializes a new instance of the <see cref="ZstandardStream" /> class by using the specified stream, compression mode, and dictionary.</summary> 90/// <param name="leaveOpen"><see langword="true" /> to leave the stream open after the <see cref="ZstandardStream" /> object is disposed; otherwise, <see langword="false" />.</param> 159/// <summary>Releases the unmanaged resources used by the <see cref="ZstandardStream" /> and optionally releases the managed resources.</summary> 185/// <summary>Asynchronously releases the unmanaged resources used by the <see cref="ZstandardStream" />.</summary>
System\IO\Compression\Zstandard\ZstandardStream.Decompress.cs (2)
17/// <summary>Initializes a new instance of the <see cref="ZstandardStream" /> class by using the specified stream and decoder instance.</summary> 20/// <param name="leaveOpen"><see langword="true" /> to leave the stream open after the <see cref="ZstandardStream" /> object is disposed; otherwise, <see langword="false" />.</param>