Branch: Tag:

2014-05-10

2014-05-10 18:46:11 by Martin Nilsson <nilsson@opera.com>

Added put_var_string_array() that works similar to the put_ver_uint_array for strings.

118:    return this;    }    +  this_program put_var_string_array(array(string(8bit)) data, int(0..) item_size, int(0..) len) +  { +  string(8bit) temp = buffer; +  buffer = ""; +  foreach(data, string(8bit) s) +  put_var_string(s, item_size); +  string(8bit) arr = buffer; +  buffer = temp; +  put_var_string(arr, len); +  return this; +  } +     //! Reads an unsigned integer from the buffer.    int(0..) get_uint(int len)    {