27 references to SafeZstdDecompressHandle
System.IO.Compression (27)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\LibraryImports.g.cs (17)
305internal static partial global::Microsoft.Win32.SafeHandles.SafeZstdDecompressHandle ZSTD_createDCtx() 310global::Microsoft.Win32.SafeHandles.SafeZstdDecompressHandle __retVal = default; 313global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeZstdDecompressHandle>.ManagedToUnmanagedOut __retVal_native__marshaller = new(); 553internal static unsafe partial nuint ZSTD_decompressDCtx(global::Microsoft.Win32.SafeHandles.SafeZstdDecompressHandle dctx, byte* dst, nuint dstCapacity, byte* src, nuint srcSize) 560global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeZstdDecompressHandle>.ManagedToUnmanagedIn __dctx_native__marshaller = new(); 589internal static unsafe partial nuint ZSTD_decompress_usingDDict(global::Microsoft.Win32.SafeHandles.SafeZstdDecompressHandle dctx, byte* dst, nuint dstCapacity, byte* src, nuint srcSize, global::Microsoft.Win32.SafeHandles.SafeZstdDDictHandle ddict) 598global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeZstdDecompressHandle>.ManagedToUnmanagedIn __dctx_native__marshaller = new(); 638internal static partial nuint ZSTD_decompressStream(global::Microsoft.Win32.SafeHandles.SafeZstdDecompressHandle dctx, ref global::Interop.Zstd.ZstdOutBuffer output, ref global::Interop.Zstd.ZstdInBuffer input) 645global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeZstdDecompressHandle>.ManagedToUnmanagedIn __dctx_native__marshaller = new(); 677internal static partial nuint ZSTD_DCtx_setParameter(global::Microsoft.Win32.SafeHandles.SafeZstdDecompressHandle dctx, global::Interop.Zstd.ZstdDParameter @param, int value) 684global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeZstdDecompressHandle>.ManagedToUnmanagedIn __dctx_native__marshaller = new(); 713internal static unsafe partial nuint ZSTD_DCtx_refPrefix(global::Microsoft.Win32.SafeHandles.SafeZstdDecompressHandle dctx, byte* prefix, nuint prefixSize) 720global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeZstdDecompressHandle>.ManagedToUnmanagedIn __dctx_native__marshaller = new(); 749internal static partial nuint ZSTD_DCtx_reset(global::Microsoft.Win32.SafeHandles.SafeZstdDecompressHandle dctx, global::Interop.Zstd.ZstdResetDirective reset) 756global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeZstdDecompressHandle>.ManagedToUnmanagedIn __dctx_native__marshaller = new(); 1008internal static partial nuint ZSTD_DCtx_refDDict(global::Microsoft.Win32.SafeHandles.SafeZstdDecompressHandle dctx, global::Microsoft.Win32.SafeHandles.SafeZstdDDictHandle ddict) 1017global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeZstdDecompressHandle>.ManagedToUnmanagedIn __dctx_native__marshaller = new();
src\runtime\src\libraries\Common\src\Interop\Interop.Zstd.cs (8)
54internal static partial SafeZstdDecompressHandle ZSTD_createDCtx(); 91internal static unsafe partial nuint ZSTD_decompressDCtx(SafeZstdDecompressHandle dctx, byte* dst, nuint dstCapacity, byte* src, nuint srcSize); 94internal static unsafe partial nuint ZSTD_decompress_usingDDict(SafeZstdDecompressHandle dctx, byte* dst, nuint dstCapacity, byte* src, nuint srcSize, SafeZstdDDictHandle ddict); 101internal static partial nuint ZSTD_decompressStream(SafeZstdDecompressHandle dctx, ref ZstdOutBuffer output, ref ZstdInBuffer input); 104internal static partial nuint ZSTD_DCtx_setParameter(SafeZstdDecompressHandle dctx, ZstdDParameter param, int value); 107internal static unsafe partial nuint ZSTD_DCtx_refPrefix(SafeZstdDecompressHandle dctx, byte* prefix, nuint prefixSize); 110internal static partial nuint ZSTD_DCtx_reset(SafeZstdDecompressHandle dctx, ZstdResetDirective reset); 147internal static partial nuint ZSTD_DCtx_refDDict(SafeZstdDecompressHandle dctx, SafeZstdDDictHandle ddict);
System\IO\Compression\Zstandard\ZstandardDecoder.cs (2)
18private SafeZstdDecompressHandle _context; 329using var dctx = Interop.Zstd.ZSTD_createDCtx();