function amf0encUString(str) {
  let data = Buffer.from(str, "utf8");
  let sLen = Buffer.alloc(2);
  sLen.writeUInt16BE(data.length, 0);
  return Buffer.concat([sLen, data]);
}
Do AMD0 Encode of Untyped String
@param {string} str
@returns {Buffer}