Exemple #1
0
 public static IntPtr BrotliDecoderCreateInstance()
 {
     if (UseX86)
     {
         return(Brolib32.BrotliDecoderCreateInstance(IntPtr.Zero, IntPtr.Zero, IntPtr.Zero));
     }
     else
     {
         return(Brolib64.BrotliDecoderCreateInstance(IntPtr.Zero, IntPtr.Zero, IntPtr.Zero));
     }
 }
Exemple #2
0
 public static IntPtr BrotliDecoderCreateInstance()
 {
     return(USE_X86
         ? Brolib32.BrotliDecoderCreateInstance(IntPtr.Zero, IntPtr.Zero, IntPtr.Zero)
         : Brolib64.BrotliDecoderCreateInstance(IntPtr.Zero, IntPtr.Zero, IntPtr.Zero));
 }