5 instantiations of ZstandardStream
Microsoft.AspNetCore.RequestDecompression (1)
ZstandardDecompressionProvider.cs (1)
26return new ZstandardStream(stream, s_decompressionOptions, leaveOpen: true);
Microsoft.AspNetCore.ResponseCompression (1)
ZstandardCompressionProvider.cs (1)
36return new ZstandardStream(outputStream, Options.CompressionOptions, leaveOpen: true);
System.Net.Http (3)
System\Net\Http\SocketsHttpHandler\DecompressionHandler.cs (1)
456new ZstandardStream(originalStream, s_decompressionOptions);
System\Net\Http\ZstandardCompressedContent.cs (2)
87? new ZstandardStream(outputStream, _compressionLevel, leaveOpen: true) 88: new ZstandardStream(outputStream, _compressionOptions, leaveOpen: true);
19 references to ZstandardStream
System.IO.Compression (18)
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 (4)
21/// <summary>Initializes a new instance of the <see cref="ZstandardStream" /> class by using the specified stream and decoder instance.</summary> 24/// <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, decompression 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>
System.Net.Http (1)
System\Net\Http\ZstandardCompressedContent.cs (1)
85private ZstandardStream CreateCompressionStream(Stream outputStream) =>