Parameters & Returns
Parameters
Returns
Quick Summary
Reads a single byte from a file.
Takes a file handle.
Returns one unsigned byte (0-255), or 0 if the handle is invalid or end of file is reached.
Technical Exegesis...
Reads one unsigned byte (0-255) from the file at the current position and advances the position by 1 byte. Returns 0 if the handle is invalid or end of file is reached.
Returns the byte value as an integer. Use this for reading binary data byte-by-byte or for parsing binary file formats.