code: function amf3decArray(buf) {
      var count = amf3decUI29(buf.slice(1));
      var obj = amf3decObject(buf.slice(count.len));
      if (count.value % 2 == 1) throw new Error("This is a reference to another array, which currently we don't support!");
      return { len: count.len + obj.len, value: obj.value }
  }
docs: AMF3 Decode Array
  @param buf
  @returns {{len: *, value: *}}