Dumps the file changes to disk and closes the file handle which makes the handle useless.
Returns whether the File object has reached the end of file or not.
Dumps the file changes to disk and saves the file.
Reads the specified amount of chars and returns them as a binary string.
Reads one byte of the file and returns whether that byte was not 0.
Reads one unsigned 8-bit integer from the file.
Reads 8 bytes from the file converts them to a double and returns them.
Reads 4 bytes from the file converts them to a float and returns them.
Returns the contents of the file from the current position up until the end of the current line.
This function will look specifically for Line Feed characters \n and will completely ignore Carriage Return characters \r.This function will not return more than 8192 characters.
Reads a signed 32-bit integer from the file.
Reads a signed 16-bit integer from the file.
Reads a unsigned 32-bit integer from the file.
Reads a unsigned 16-bit integer from the file.
Sets the file pointer to the specified position.
Returns the size of the file in bytes.
Moves the file pointer by the specified amount of chars.
Returns the current position of the file pointer.
Writes the given string into the file.
Writes a boolean value to the file as one byte.
Write an 8-bit unsigned integer to the file.
Writes a 8byte floating point double to the file.
Writes a 4byte float to the file.
Writes a 32-bit signed integer to the file.
Writes a 16-bit signed integer to the file.
Writes an unsigned 32-bit integer to the file.
Writes an unsigned 16-bit integer to the file.