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
- BinaryFile.Create
- BinaryFile.ReadFloat
- BinaryFile.ReadHex
- BinaryFile.ReadInt
- BinaryFile.ReadPDF
- BinaryFile.ReadText
- BinaryFile.WriteByte
Release notes
- Version 8.3
- Fixed parameter count check for BinaryFile.ReadByte.
Blog Entries
This function checks for a license.
Created 12nd June 2017, last changed 12nd June 2017