Modules/FileSystem/file/seek: 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 03:4703:47, 19 January 2022Danilo talk contribs 1,464 bytes +1,464 Created page with "__NOTOC__ This function changes the location of the current stream pointer. Like that you can skip file sections, set the stream pointer to a specific location or head to the end of the file/stream object. Not all stream classes have to support this operation. ==Syntax== <syntaxhighlight lang="lua"> int file:seek ( int offset, string mode ) </syntaxhighlight> ==Arguments== *'''offset:''' the amount of bytes that should be used for the seeking operation *'''mode:''' a s..."