Modules/FileSystem/file/readUByte: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

23 January 2022

19 January 2022

  • curprev 22:4922:49, 19 January 2022Quiret talk contribs 3,084 bytes 0 No edit summary
  • curprev 03:3003:30, 19 January 2022Danilo talk contribs 3,084 bytes +3,084 Created page with "__NOTOC__ This function attempts to read an unsigned byte (native type) from a file and returns it. The amount of bytes read should be one. ==Syntax== <syntaxhighlight lang="lua"> unsigned_byte file:readUByte () </syntaxhighlight> ==Returns== Returns the unsigned byte if it was successfully read from the file, '''false''' otherwise. ==Example== <section name="Client" class="client" show="true"> This snippet writes a Lua type into a file stream. The lua type can be any..."