Example #1
0
 internal static extern bool BrotliEncoderCompress(int quality, int lgwin, BrotliNative.BrotliEncoderMode mode, nuint input_size,
                                                   IntPtr input_buffer, ref nuint encoded_size, IntPtr encoded_buffer);
Example #2
0
 public static bool BrotliEncoderCompress(int quality, int lgwin, BrotliNative.BrotliEncoderMode mode, nuint input_size,
                                          IntPtr input_buffer, ref nuint encoded_size, IntPtr encoded_buffer)
 {
     return(Interop.Brotli.BrotliEncoderCompress(quality, lgwin, mode, input_size, input_buffer, ref encoded_size, encoded_buffer));
 }