You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to decompress a byte[] compressed with GDeflate. The documentation for DirectStorage contains the following sample code for instantiating a GDeflate codec:
How do I translate this to Silk? This is as far as I've gotten:
varapi= DStorage.GetApi();varguid=typeof(IDStorageCompressionCodec).GUID;
unsafe
{varresult= api.CreateCompressionCodec(
CompressionFormat.CompressionFormatGdeflate,0,&guid,/* what do I put here? */);}
Is that the correct riid? And what do I pass for the ppv parameter?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I want to decompress a
byte[]
compressed with GDeflate. The documentation for DirectStorage contains the following sample code for instantiating a GDeflate codec:How do I translate this to Silk? This is as far as I've gotten:
Is that the correct
riid
? And what do I pass for theppv
parameter?Beta Was this translation helpful? Give feedback.
All reactions