Example #1
0
 public static bool BrotliEncoderSetParameter(
     IntPtr state, BrotliEncoderParameter parameter, UInt32 value)
 {
     return(USE_X86
         ? Brolib32.BrotliEncoderSetParameter(state, parameter, value)
         : Brolib64.BrotliEncoderSetParameter(state, parameter, value));
 }
Example #2
0
 public static bool BrotliEncoderSetParameter(IntPtr state, BrotliEncoderParameter parameter, UInt32 value)
 {
     if (UseX86)
     {
         return(Brolib32.BrotliEncoderSetParameter(state, parameter, value));
     }
     else
     {
         return(Brolib64.BrotliEncoderSetParameter(state, parameter, value));
     }
 }