Ejemplo n.º 1
0
 public static global::decode.streams.BrotliOutput BrotliInitMemOutput(global::Array <uint> buffer)
 {
     global::decode.streams.BrotliOutput    output     = new global::decode.streams.BrotliOutput();
     global::decode.streams.BrotliMemOutput mem_output = new global::decode.streams.BrotliMemOutput();
     mem_output.buffer = buffer;
     mem_output.pos    = ((uint)(0));
     output.cb_        = ((global::haxe.lang.Function)(new global::haxe.lang.Closure(typeof(global::decode.Streams), "BrotliMemOutputFunction", 30362364)));
     output.data_      = mem_output;
     return(output);
 }
Ejemplo n.º 2
0
 public static void __hx_ctor_decode_streams_BrotliMemOutput(global::decode.streams.BrotliMemOutput __hx_this)
 {
 }
Ejemplo n.º 3
0
 public static int BrotliMemOutputFunction(global::decode.streams.BrotliMemOutput data, uint[] buf, int buf_off, int count)
 {
     global::DefaultFunctions.memcpyArrayVector(data.buffer, ((int)(((uint)((data.pos + 0))))), buf, buf_off, count);
     data.pos = ((uint)((data.pos + count)));
     return(count);
 }