boolean() | reads a 1-byte boolean value from a binary stream |
buffer(integer size) | reads bytes from a stream into a new buffer object |
float() | reads a floating point value from a binary stream |
integer(integer size) | reads an integer value from a binary stream |
lines() | returns an iterator over lines of text |
string() | read a string value from a binary stream |
tell() | returns the location in the stream if available |
Reads a 1-byte boolean value from a binary stream
Reads bytes from a stream into a new buffer object
Reads a floating point value from a binary stream
Reads an integer value from a binary stream
Returns an iterator over lines of text
Read a string value from a binary stream. The stream is read until a terminating '/0' character or the end of the stream is encountered.
Do not use this method to read from a text stream, use the lines() iterator or iterate utf-8 characters over the reader object itself
Returns the location in the stream if available