博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
OutputStreamWriter和InputStreamReader
阅读量:3908 次
发布时间:2019-05-23

本文共 268 字,大约阅读时间需要 1 分钟。

OutputStream:表示输出字节流所有类的超类

OutputStreamWriter:OutputStreamWriter是从字符流到字节流的桥接:写入它的字符使用指定的字节编码为字节字符集。它使用的字符集可以通过名称指定,也可以明确指定,或者可以接受平台的默认字符集。

InputStreamReader: 是字符流Reader的子类,是字节流通向字符流的桥梁。你可以在构造器重指定编码的方式,如果不指定的话将采用底层操作系统的默认编码方式

 

bufferedWriter :缓存输出流

bufferedReader :缓存输入流

转载地址:http://mdqen.baihongyu.com/

你可能感兴趣的文章
Mapreduce Patterns, Algorithms, and use cases
查看>>
Hadoop interview
查看>>
数据处理问题
查看>>
BloomFilter
查看>>
Bloom Filter - Math deduce
查看>>
Bit Byte Megabyte Gigabyte
查看>>
Bits Bytes and Words
查看>>
Python yield and generator
查看>>
Python yield and iterables
查看>>
Python string find
查看>>
del Statement
查看>>
Python Dict all
查看>>
Python Rate Limiter
查看>>
Python list to string
查看>>
Python list dict iteration
查看>>
Linux basic knowledge
查看>>
Difference Between Hard & Soft Links
查看>>
Linux Hard link and Symbolic link
查看>>
Hard Link Vs Soft Link
查看>>
redis brief intro
查看>>