1. 介绍

DataInputStream
DataOutputStream

1.1 作用

读取或写基本数据类型和字符串

2. API

image.png
(本质也是一个管道流,需要借助原来的输出流)
image.png