数据流,提供了可以读/写任意数据类型的方法:

DataOutputStream: 提供了 writeXxx(xxx value)方法. DataInputStream:
提供了 readXxx()方法.

注意: writeXxx和readXxx必须要对应起来, writeByte写出的数据,此时只能使用readByte读取回来.

IO之数据流

相关文章:

  • 2021-07-03
  • 2021-06-02
  • 2021-07-01
  • 2022-01-17
  • 2022-12-23
  • 2022-12-23
  • 2021-08-18
猜你喜欢
  • 2021-11-18
  • 2021-07-24
  • 2021-07-01
  • 2021-05-10
  • 2021-04-10
  • 2021-09-13
相关资源
相似解决方案