-
- All Implemented Interfaces:
-
java.io.Closeable,java.io.DataInput,java.io.DataOutput,java.lang.AutoCloseable
public final class BufferedRandomAccessFile extends RandomAccessFile
A kotlin version of the BufferedRandomAccessFile java version from Apache, found here: BufferedRandomAccessFile
-
-
Field Summary
Fields Modifier and Type Field Description private final FileDescriptorfdprivate final FileChannelchannel
-
Constructor Summary
Constructors Constructor Description BufferedRandomAccessFile(File file, String mode, Integer bufferSize)
-
Method Summary
Modifier and Type Method Description Integerread()Integerread(ByteArray b, Integer off, Integer len)LonggetFilePointer()Unitseek(Long pos)-
Methods inherited from class java.io.RandomAccessFile
close, getChannel, getFD, length, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUTF, readUnsignedByte, readUnsignedShort, setLength, skipBytes, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-