Java.IO.RandomAccessFile: Method Members

The methods of Java.IO.RandomAccessFile are listed below. For a list of all members, see the RandomAccessFile Members list.

See Also: Inherited members from Java.Lang.Object

Public Methods

Close()
Closes this file.
Length() : long
Returns the length of this file in bytes.
Read() : int
Reads a single byte from the current position in this file and returns it as an integer in the range from 0 to 255.
Read(byte[]) : int
Reads bytes from the current position in this file and stores them in the byte array buffer.
Read(byte[], int, int) : int
Reads up to byteCount bytes from the current position in this file and stores them in the byte array buffer starting at byteOffset.
ReadAsync() : System.Threading.Tasks.Task<int>
Documentation for this section has not yet been entered.
ReadAsync(byte[]) : System.Threading.Tasks.Task<int>
Documentation for this section has not yet been entered.
ReadAsync(byte[], int, int) : System.Threading.Tasks.Task<int>
Documentation for this section has not yet been entered.
ReadBoolean() : bool
Reads a boolean from the current position in this file.
ReadBooleanAsync() : System.Threading.Tasks.Task<bool>
Documentation for this section has not yet been entered.
ReadByte() : sbyte
Reads an 8-bit byte from the current position in this file.
ReadByteAsync() : System.Threading.Tasks.Task<sbyte>
Documentation for this section has not yet been entered.
ReadChar() : char
Reads a big-endian 16-bit character from the current position in this file.
ReadCharAsync() : System.Threading.Tasks.Task<char>
Documentation for this section has not yet been entered.
ReadDouble() : double
Reads a big-endian 64-bit double from the current position in this file.
ReadDoubleAsync() : System.Threading.Tasks.Task<double>
Documentation for this section has not yet been entered.
ReadFloat() : float
Reads a big-endian 32-bit float from the current position in this file.
ReadFloatAsync() : System.Threading.Tasks.Task<float>
Documentation for this section has not yet been entered.
ReadFully(byte[])
Equivalent to readFully(dst, 0, dst.length);.
ReadFully(byte[], int, int)
Reads byteCount bytes from this stream and stores them in the byte array dst starting at offset.
ReadFullyAsync(byte[]) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.
ReadFullyAsync(byte[], int, int) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.
ReadInt() : int
Reads a big-endian 32-bit integer from the current position in this file.
ReadIntAsync() : System.Threading.Tasks.Task<int>
Documentation for this section has not yet been entered.
ReadLine() : string
Reads a line of text form the current position in this file.
ReadLineAsync() : System.Threading.Tasks.Task<string>
Documentation for this section has not yet been entered.
ReadLong() : long
Reads a big-endian 64-bit long from the current position in this file.
ReadLongAsync() : System.Threading.Tasks.Task<long>
Documentation for this section has not yet been entered.
ReadShort() : short
Reads a big-endian 16-bit short from the current position in this file.
ReadShortAsync() : System.Threading.Tasks.Task<short>
Documentation for this section has not yet been entered.
ReadUnsignedByte() : int
Reads an unsigned 8-bit byte from the current position in this file and returns it as an integer.
ReadUnsignedByteAsync() : System.Threading.Tasks.Task<int>
Documentation for this section has not yet been entered.
ReadUnsignedShort() : int
Reads an unsigned big-endian 16-bit short from the current position in this file and returns it as an integer.
ReadUnsignedShortAsync() : System.Threading.Tasks.Task<int>
Documentation for this section has not yet been entered.
ReadUTF() : string
Reads a string that is encoded in Java.IO.IDataInput from this file.
ReadUTFAsync() : System.Threading.Tasks.Task<string>
Documentation for this section has not yet been entered.
Seek(long)
Moves this file's file pointer to a new position, from where following read, write or skip operations are done.
SetLength(long)
Sets the length of this file to newLength.
SkipBytes(int) : int
Skips over count bytes in this file.
SkipBytesAsync(int) : System.Threading.Tasks.Task<int>
Documentation for this section has not yet been entered.
Write(byte[])
Writes the entire contents of the byte array buffer to this file, starting at the current file pointer.
Write(int)
Writes a byte to this file, starting at the current file pointer.
Write(byte[], int, int)
Writes byteCount bytes from the byte array buffer to this file, starting at the current file pointer and using byteOffset as the first position within buffer to get bytes.
WriteAsync(byte[]) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.
WriteAsync(int) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.
WriteAsync(byte[], int, int) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.
WriteBoolean(bool)
Writes a boolean to this file as a single byte (1 for true, 0 for false), starting at the current file pointer.
WriteBooleanAsync(bool) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.
WriteByte(int)
Writes an 8-bit byte to this file, starting at the current file pointer.
WriteByteAsync(int) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.
WriteBytes(string)
Writes the low order 8-bit bytes from a string to this file, starting at the current file pointer.
WriteBytesAsync(string) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.
WriteChar(int)
Writes a big-endian 16-bit character to this file, starting at the current file pointer.
WriteCharAsync(int) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.
WriteChars(string)
Writes big-endian 16-bit characters from str to this file, starting at the current file pointer.
WriteCharsAsync(string) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.
WriteDouble(double)
Writes a big-endian 64-bit double to this file, starting at the current file pointer.
WriteDoubleAsync(double) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.
WriteFloat(float)
Writes a big-endian 32-bit float to this file, starting at the current file pointer.
WriteFloatAsync(float) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.
WriteInt(int)
Writes a big-endian 32-bit integer to this file, starting at the current file pointer.
WriteIntAsync(int) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.
WriteLong(long)
Writes a big-endian 64-bit long to this file, starting at the current file pointer.
WriteLongAsync(long) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.
WriteShort(int)
Writes a big-endian 16-bit short to this file, starting at the current file pointer.
WriteShortAsync(int) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.
WriteUTF(string)
Writes a string encoded with Java.IO.IDataInput to this file, starting at the current file pointer.
WriteUTFAsync(string) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.