Modules/FileSystem/file/readUInt

From Multi Theft Auto: Wiki
Revision as of 03:34, 19 January 2022 by Danilo (talk | contribs) (Created page with "__NOTOC__ This function attempts to read an unsigned integer (native type) from a file and returns it. The amount of bytes read should be four. ==Syntax== <syntaxhighlight lang="lua"> unsigned_int file:readUInt () </syntaxhighlight> ==Returns== Returns an unsigned integer if it was successfully read from the file, '''false''' otherwise. ==Example== todo. {{:Modules/FileSystem/file/functions}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function attempts to read an unsigned integer (native type) from a file and returns it. The amount of bytes read should be four.

Syntax

unsigned_int file:readUInt ()

Returns

Returns an unsigned integer if it was successfully read from the file, false otherwise.

Example

todo.

FileSystem File Functions