code: @Override
      public void writeUTF(String value) {
          // fix from issue #97
          try {
              byte[] strBuf = value.getBytes(AMF.CHARSET.name());
              buffer.putShort((short) strBuf.length);
              buffer.put(strBuf);
          } catch (UnsupportedEncodingException e) {
              e.printStackTrace();
          }
      }
docs: {@inheritDoc}