Class BufferedRandomAccessFile

java.lang.Object
java.io.RandomAccessFile
cn.nukkit.nbt.stream.BufferedRandomAccessFile
All Implemented Interfaces:
Closeable, DataInput, DataOutput, AutoCloseable

public class BufferedRandomAccessFile extends RandomAccessFile
A BufferedRandomAccessFile is like a RandomAccessFile, but it uses a private buffer so that most operations do not require a disk access.

Note: The operations on this class are unmonitored. Also, the correct functioning of the RandomAccessFile methods that are not overridden here relies on the implementation of those methods in the superclass.

Author:
Avinash Lakshman ( [email protected]) & Prashant Malik ( [email protected] )