code: function amf0Encode(a) {
      var buf = new Buffer(0);
      a.forEach(function (o) {
          buf = Buffer.concat([buf, amf0EncodeOne(o)]);
      });
      return buf;
  }
docs: Encode an array of values into a buffer
  @param a
  @returns {Buffer}