16 references to SafeZstdDDictHandle
System.IO.Compression (16)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\LibraryImports.g.cs (7)
403internal static unsafe partial global::Microsoft.Win32.SafeHandles.SafeZstdDDictHandle ZSTD_createDDict_byReference(byte* dictBuffer, nuint dictSize) 408global::Microsoft.Win32.SafeHandles.SafeZstdDDictHandle __retVal = default; 411global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeZstdDDictHandle>.ManagedToUnmanagedOut __retVal_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) 597global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeZstdDDictHandle>.ManagedToUnmanagedIn __ddict_native__marshaller = new(); 1008internal static partial nuint ZSTD_DCtx_refDDict(global::Microsoft.Win32.SafeHandles.SafeZstdDecompressHandle dctx, global::Microsoft.Win32.SafeHandles.SafeZstdDDictHandle ddict) 1016global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeZstdDDictHandle>.ManagedToUnmanagedIn __ddict_native__marshaller = new();
src\runtime\src\libraries\Common\src\Interop\Interop.Zstd.cs (3)
67internal static unsafe partial SafeZstdDDictHandle ZSTD_createDDict_byReference(byte* dictBuffer, nuint dictSize); 94internal static unsafe partial nuint ZSTD_decompress_usingDDict(SafeZstdDecompressHandle dctx, byte* dst, nuint dstCapacity, byte* src, nuint srcSize, SafeZstdDDictHandle ddict); 147internal static partial nuint ZSTD_DCtx_refDDict(SafeZstdDecompressHandle dctx, SafeZstdDDictHandle ddict);
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeZstdHandle.cs (2)
89internal SafeZstdDDictHandle? _dictionary; 108public void SetDictionary(SafeZstdDDictHandle dictionary)
System\IO\Compression\Zstandard\ZstandardDictionary.cs (4)
18private readonly SafeZstdDDictHandle _decompressionDictionary; 22private ZstandardDictionary(SafeZstdCDictHandle compressionDict, SafeZstdDDictHandle decompressionDict, byte[] data) 63SafeZstdDDictHandle decompressionDict = Interop.Zstd.ZSTD_createDDict_byReference(dictPtr, (nuint)data.Length); 195internal SafeZstdDDictHandle DecompressionDictionary