Examples of different data flow applications of Java
•
Java
It is divided into byte stream (8bit) (InputStream and ouputstream) and character stream (16bit) (reader and writer) according to different operation units
According to the flow direction of data flow, it is divided into input flow and output flow
It is divided into node flow and processing flow according to different roles
1、 Unbuffered stream
1. File byte input stream and file byte output stream
Some problems will be encountered during operation. For example, the byte array is set to receive the read data. If the initialization length is small, the read data is incomplete. In the experiment of test1fileinputstream(), even according to:
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码