public static void __hx_ctor_encode_RingBuffer(global::encode.RingBuffer __hx_this, int window_bits, int tail_bits) { unchecked { __hx_this.window_bits_ = window_bits; __hx_this.mask_ = (((1 << window_bits)) - 1); __hx_this.tail_size_ = (1 << tail_bits); __hx_this.pos_ = 0; int buflen = (((1 << __hx_this.window_bits_)) + __hx_this.tail_size_); __hx_this.buffer_ = ((uint[])(new uint[(buflen + 3)])); { int _g1 = 0; while ((_g1 < 3)) { ((uint[])(__hx_this.buffer_))[(buflen + _g1++)] = ((uint)(0)); } } } }
public override object __hx_setField(string field, int hash, object @value, bool handleProperties) { unchecked { switch (hash) { case 1327133892: { this.storage_ = ((uint[])(@value)); return(@value); } case 1934413114: { this.storage_size_ = ((int)(global::haxe.lang.Runtime.toInt(@value))); return(@value); } case 786269185: { this.prev_byte2_ = ((uint)(global::haxe.lang.Runtime.toInt(@value))); return(@value); } case 90195659: { this.prev_byte_ = ((uint)(global::haxe.lang.Runtime.toInt(@value))); return(@value); } case 1659886955: { this.last_byte_bits_ = ((uint)(global::haxe.lang.Runtime.toInt(@value))); return(@value); } case 1338359406: { this.last_byte_ = ((uint)(global::haxe.lang.Runtime.toInt(@value))); return(@value); } case 1854114270: { this.saved_dist_cache_ = ((int[])(@value)); return(@value); } case 35939030: { this.dist_cache_ = ((int[])(@value)); return(@value); } case 1044314085: { this.last_processed_pos_ = ((int)(global::haxe.lang.Runtime.toInt(@value))); return(@value); } case 282430831: { this.last_flush_pos_ = ((int)(global::haxe.lang.Runtime.toInt(@value))); return(@value); } case 537950791: { this.last_insert_len_ = ((int)(global::haxe.lang.Runtime.toInt(@value))); return(@value); } case 1358280002: { this.num_literals_ = ((int)(global::haxe.lang.Runtime.toInt(@value))); return(@value); } case 204352542: { this.num_commands_ = ((int)(global::haxe.lang.Runtime.toInt(@value))); return(@value); } case 1285881495: { this.commands_ = ((global::Array <object>)(global::Array <object> .__hx_cast <object>(((global::Array)(@value))))); return(@value); } case 770104548: { this.cmd_buffer_size_ = ((int)(global::haxe.lang.Runtime.toInt(@value))); return(@value); } case 194189137: { this.literal_cost_mask_ = ((int)(global::haxe.lang.Runtime.toInt(@value))); return(@value); } case 332919650: { this.literal_cost_ = ((double[])(@value)); return(@value); } case 439261615: { this.ringbuffer_ = ((global::encode.RingBuffer)(@value)); return(@value); } case 1752889312: { this.input_pos_ = ((int)(global::haxe.lang.Runtime.toInt(@value))); return(@value); } case 953005556: { this.hash_type_ = ((int)(global::haxe.lang.Runtime.toInt(@value))); return(@value); } case 502309127: { this.hashers_ = ((global::encode.hash.Hashers)(@value)); return(@value); } case 812293353: { this.max_backward_distance_ = ((int)(global::haxe.lang.Runtime.toInt(@value))); return(@value); } case 1579213401: { this.params_ = ((global::encode.encode.BrotliParams)(@value)); return(@value); } default: { return(base.__hx_setField(field, hash, @value, handleProperties)); } } } }