`
wwty
  • 浏览: 537069 次
  • 性别: Icon_minigender_1
  • 来自: 北京-郑州
社区版块
存档分类
最新评论

OutputStream的writeUTF函数

阅读更多

writeUTF

     public void writeUTF(String str)
              throws IOException
Writes two bytes of length information to the output stream, followed by the Java modified UTF representation of every character in the string。

writeUTF在发送的时候,会自动加上数据长度信息

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics