Java Foundation-IO Stream Object Random Access File (RandomAccessFile)

            Java Foundation-IO Stream Object Random Access File (RandomAccessFile)

                                      Author: Yin Zhengjie

Copyright statement: original works, please do not reprint! Otherwise held liable.

 

 

 

1. Introduction to RandomAccessFile

  Instances of this class support reading and writing random access files. A random access file behaves like a large byte array stored in the file system. There is a cursor or index into this implicit array, called the file pointer ; input operations start reading bytes from the file pointer and advance this file pointer as the bytes are read.

 

two.

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325383439&siteId=291194637