コード例 #1
0
        public Decompressor(DecompressionOptions options)
        {
            Options = options;
            dctx    = ExternMethods.ZSTD_createDCtx().EnsureZstdSuccess();

            options.ApplyDecompressionParams(dctx);
        }
コード例 #2
0
        public Decompressor(byte[] dict = null)
        {
            Dictionary = dict;

            dctx = ExternMethods.ZSTD_createDCtx().EnsureZstdSuccess();
            if (dict != null)
            {
                ddict = ExternMethods.ZSTD_createDDict(dict, (size_t)dict.Length).EnsureZstdSuccess();
            }
        }
コード例 #3
0
ファイル: Decompressor.cs プロジェクト: giaynhap/ExLol-wad
 // Token: 0x06000019 RID: 25 RVA: 0x00002431 File Offset: 0x00000631
 public Decompressor(DecompressionOptions options)
 {
     this.Options = options;
     this.dctx    = ExternMethods.ZSTD_createDCtx().EnsureZstdSuccess();
 }