Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

BinaryFile.ReadByte

Reads a single byte from the file.

Component Version macOS Windows Linux Server iOS SDK
BinaryFile 7.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "BinaryFile.ReadByte"; BinaryFileRef )   More

Parameters

Parameter Description Example
BinaryFileRef The reference number for the open file. $FH

Result

Returns value or error.

Description

Reads a single byte from the file.
Returns empty result if reading fails.
See also BinaryFile.WriteByte for writing.

See also

Release notes

Blog Entries

This function checks for a license.

Created 12nd June 2017, last changed 12nd June 2017


BinaryFile.Position - BinaryFile.ReadContainer