- <init>
Constructs a new RandomAccessFile based on the file named fileName and opens it
according to the acc
- close
Closes this file.
- seek
Moves this file's file pointer to a new position, from where following read,
write or skip operation
- getChannel
Gets this file's FileChannel object. The file channel's FileChannel#position()
is the same as this f
- length
Returns the length of this file in bytes.
- read
Reads up to byteCount bytes from the current position in this file and stores
them in the byte array
- write
Writes byteCount bytes from the byte array buffer to this file, starting at the
current file pointer
- setLength
Sets the length of this file to newLength. If the current file is smaller, it is
expanded but the co
- getFilePointer
Gets the current position within this file. All reads and writes take place at
the current file poin
- readFully
Reads byteCount bytes from this stream and stores them in the byte array dst
starting at offset. If
- getFD
Gets this file's FileDescriptor. This represents the operating system resource
for this random acces
- readInt
Reads a big-endian 32-bit integer from the current position in this file. Blocks
until four bytes ha