示例#1
0
 public static void BrotliEncoderSetCustomDictionary(IntPtr state, UInt32 size, IntPtr dict)
 {
     if (UseX86)
     {
         Brolib32.BrotliEncoderSetCustomDictionary(state, size, dict);
     }
     else
     {
         Brolib64.BrotliEncoderSetCustomDictionary(state, size, dict);
     }
 }
示例#2
0
        public static void BrotliEncoderSetCustomDictionary(
            IntPtr state, UInt32 size, IntPtr dict)
        {
            if (USE_X86)
            {
                Brolib32.BrotliEncoderSetCustomDictionary(state, size, dict);
                return;
            }

            Brolib64.BrotliEncoderSetCustomDictionary(state, size, dict);
        }