本文介绍了BufferedReader和BufferedInputStream之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
BufferedReader
, BufferedInputStream
和扫描程序$ c $之间有什么区别? c>在java中?
BufferedReader
读取文本, BufferedInputStream
读取 byte
。除此之外有什么区别吗?
What are the differences between BufferedReader
, BufferedInputStream
and Scanner
in java? BufferedReader
reads the text and BufferedInputStream
reads byte
. Is there any difference other than this?
推荐答案
我猜,读者和输入流之间的区别是相同的:一个是角色基于字节,另一个是基于字节的。例如,阅读器通常支持编码......
I guess, the difference is the same as between reader and inputstream: one is character-based, another is byte-based. For example, reader normally supports encoding...
编辑:检查此问题:
这篇关于BufferedReader和BufferedInputStream之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!