总是混淆他们的区别:
InputStream is used for many things that you read from.
OutputStream is used for many things that you write to.
可以理解的是这个Input还是output 是以程序员为中心的,
- 往外流的当然是我要写出去的,从而将数据交付给别人或者保存于某个文件。
- 往里流的当然是我要用到的,所以我需要从流里读起来并加以使用
总是混淆他们的区别:
InputStream is used for many things that you read from.
OutputStream is used for many things that you write to.
可以理解的是这个Input还是output 是以程序员为中心的,