Example #1
0
 public static IntPtr BrotliDecoderTakeOutput(IntPtr state, ref UInt32 size)
 {
     if (UseX86)
     {
         return(Brolib32.BrotliDecoderTakeOutput(state, ref size));
     }
     else
     {
         UInt64 longSize = size;
         var    r        = Brolib64.BrotliDecoderTakeOutput(state, ref longSize);
         size = (UInt32)longSize;
         return(r);
     }
 }