code: function set (buffer, offset, value) {
    debug('Array "type" setter for buffer at offset', buffer, offset, value)
    var array = this.get(buffer, offset)
    var isInstance = value instanceof this
    if (isInstance || isArray(value)) {
      for (var i = 0; i < value.length; i++) {
        array[i] = value[i]
      }
    } else {
      throw new Error('not sure how to set into Array: ' + value)
    }
  }
docs: The "set" function of the Array "type" interface.
  Most likely invoked when setting within a "ref-struct" type.