code: function amf0encUString(s) {
      var data = new Buffer(s,'utf8');
      var sLen = new Buffer(2);
      sLen.writeUInt16BE(data.length,0);
      return Buffer.concat([sLen,data]);
  }
docs: Do AMD0 Encode of Untyped String
  @param s
  @returns {Buffer}