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