public CoconetDecompressor(long dictionarySize, CoconetCompressor.LzOption lzOpt) { this.hDecompressor = CoconetDecompressor.GetDecompressor((ulong)dictionarySize, (uint)lzOpt); if (this.hDecompressor == IntPtr.Zero) { throw new CompressionOutOfMemoryException(); } }
internal CoconetCompressor(long dictionarySize, int sampleRate, CoconetCompressor.LzOption lzOpt) { this.hCompressor = CoconetCompressor.GetCompressor((ulong)dictionarySize, (uint)sampleRate, (uint)lzOpt); if (this.hCompressor == IntPtr.Zero) { throw new CompressionOutOfMemoryException(); } }