Пример #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
 // Token: 0x06000019 RID: 25 RVA: 0x00002431 File Offset: 0x00000631
 public Decompressor(DecompressionOptions options)
 {
     this.Options = options;
     this.dctx    = ExternMethods.ZSTD_createDCtx().EnsureZstdSuccess();
 }