Search results

Jump to navigation Jump to search

Page title matches

  • This function attempts to write a string of bytes (characters) into the file. It returns the amount of bytes that have actually been written. int file:write ( string dataString )
    2 KB (319 words) - 23:45, 16 January 2022
  • This function attempts to write a boolean into a file/stream and returns how many bytes have actually been written. The amount of int file:writeBoolean ( boolean value )
    541 bytes (79 words) - 23:47, 16 January 2022
  • This function attempts to read a signed byte (native type) from a file and returns it. The amount of bytes read should be one. signed_byte file:readByte ()
    6 KB (658 words) - 23:33, 16 January 2022
  • This function returns the size of a specific file/stream from beginning to end. Not all streams have to support this operatio int file:size ()
    1,011 bytes (144 words) - 23:47, 16 January 2022
  • This function attempts to read an unsigned byte (native type) from a file and returns it. The amount of bytes read should be one. unsigned_byte file:readUByte ()
    3 KB (337 words) - 23:34, 16 January 2022
  • This function returns immediate statistics about this file/stream object. The output should be of same structure like that of [[MTA:Ei dictionary file:stat ()
    412 bytes (53 words) - 23:47, 16 January 2022
  • This function attempts to write a signed byte into a file/stream and returns how many bytes have actually been written. The amount of int file:writeByte ( signed_byte value )
    504 bytes (75 words) - 23:45, 16 January 2022
  • ==[[MTA:Eir/FileSystem|FileSystem]] File Functions== *[[MTA:Eir/FileSystem/file/read|read]]
    1 KB (174 words) - 14:48, 1 February 2014
  • This function attempts to write an unsigned byte into a file/stream and returns how many bytes have actually been written. The amount of int file:writeUByte ( unsigned_byte value )
    507 bytes (74 words) - 23:46, 16 January 2022
  • ...s, 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. int file:seek ( int offset, string mode )
    1 KB (209 words) - 23:48, 16 January 2022
  • This function attempts to read the specified amount of bytes from the file. The actual amount of bytes read equals to the length of the Lua string. string file:read ( int readCount )
    1 KB (195 words) - 23:32, 16 January 2022
  • This function attempts to write a short integer into a file/stream and returns how many bytes have actually been written. The amount of int file:writeShort ( short value )
    505 bytes (74 words) - 23:46, 16 January 2022
  • ...ct, this function is more reliable than the [[MTA:Eir/FileSystem/file/size|file.size]] approach. boolean file:eof ()
    1 KB (222 words) - 23:49, 16 January 2022
  • This function attempts to read a short (native type) from a file and returns it. The amount of bytes read should be two. short file:readShort ()
    2 KB (300 words) - 23:35, 16 January 2022
  • This function attempts to write an unsigned short integer into a file/stream and returns how many bytes have actually been written. The amount of int file:writeUShort ( unsigned_short value )
    576 bytes (85 words) - 23:46, 16 January 2022
  • This function writes all temporary buffers of a file/stream object into the output storage. This feature shall be interpreted as boolean file:flush ()
    2 KB (247 words) - 23:49, 16 January 2022
  • This function attempts to read an integer (native type) from a file and return it. The amount of bytes read should be four. int file:readInt ()
    2 KB (239 words) - 23:36, 16 January 2022
  • This function attempts to write an integer into a file/stream and returns how many bytes have actually been written. The amount of int file:writeInt ( int value )
    570 bytes (83 words) - 23:46, 16 January 2022

Page text matches

  • This function attempts to write an unsigned byte into a file/stream and returns how many bytes have actually been written. The amount of int file:writeUByte ( unsigned_byte value )
    507 bytes (74 words) - 23:46, 16 January 2022
  • <pageclass class="#3cc882" subcaption="File function"></pageclass> ...if value reading). This state should be immutable across the lifetime of a file/stream class.
    1 KB (181 words) - 03:14, 23 January 2022
  • Writes one or more strings to a given file, starting at the current read/write position. Advances the position over th int fileWrite ( file theFile, string string1 [, string string2, string string3 ...])
    2 KB (283 words) - 20:15, 20 December 2023
  • <pageclass class="#3cc882" subcaption="File function"></pageclass> This function attempts to write a signed byte into a file/stream and returns how many bytes have actually been written. The amount of
    571 bytes (81 words) - 03:05, 23 January 2022
  • This function attempts to write a signed byte into a file/stream and returns how many bytes have actually been written. The amount of int file:writeByte ( signed_byte value )
    504 bytes (75 words) - 23:45, 16 January 2022
  • ...if value reading). This state should be immutable across the lifetime of a file/stream class. boolean file:isReadable ()
    1 KB (175 words) - 23:50, 16 January 2022
  • ...leFlush]] can be called after each log entry is written. Without this, the file may appear empty or outdated to the user. bool fileFlush ( file theFile )
    1 KB (178 words) - 18:14, 20 December 2023
  • This event is triggered when a file has been downloaded after [[downloadFile]] has been successfully called. *'''fileName''': the file downloaded.
    1 KB (163 words) - 14:36, 21 May 2024
  • Sets the current read/write position in the file. int fileSetPos ( file theFile, int offset )
    1 KB (219 words) - 20:03, 20 December 2023
  • This function attempts to write a short integer into a file/stream and returns how many bytes have actually been written. The amount of int file:writeShort ( short value )
    505 bytes (74 words) - 23:46, 16 January 2022
  • <pageclass class="#3cc882" subcaption="File function"></pageclass> This function attempts to write a short integer into a file/stream and returns how many bytes have actually been written. The amount of
    572 bytes (80 words) - 03:06, 23 January 2022
  • This function checks whether a specified file exists on a MTA:Eir FileSystem translator. *'''filePath:''' the path to the file that should exist
    1 KB (159 words) - 03:24, 23 January 2022
  • ...destination stream. The copy of data is performed starting from the source file seek. Read operations on the file streams advance the seek pointers. Thus the seek pointers stay changed afte
    910 bytes (120 words) - 03:58, 23 January 2022
  • <pageclass class="#3cc882" subcaption="File function"></pageclass> This function attempts to write an unsigned integer into a file/stream and returns how many bytes have actually been written. The amount of
    646 bytes (90 words) - 03:07, 23 January 2022
  • This function attempts to write an unsigned integer into a file/stream and returns how many bytes have actually been written. The amount of int file:writeUInt ( unsigned_int value )
    579 bytes (84 words) - 23:46, 16 January 2022
  • <pageclass class="#3cc882" subcaption="File function"></pageclass> This function attempts to write an unsigned short integer into a file/stream and returns how many bytes have actually been written. The amount of
    643 bytes (91 words) - 03:06, 23 January 2022
  • Returns the current read/write position in the given file. <syntaxhighlight lang="lua"> int fileGetPos ( file theFile ) </syntaxhighlight>
    1 KB (181 words) - 18:51, 20 December 2023
  • This function attempts to write an unsigned short integer into a file/stream and returns how many bytes have actually been written. The amount of int file:writeUShort ( unsigned_short value )
    576 bytes (85 words) - 23:46, 16 January 2022
  • <pageclass class="#3cc882" subcaption="File function"></pageclass> This function attempts to write a float into a file/stream and returns how many bytes have actually been written. The amount of
    640 bytes (89 words) - 03:09, 23 January 2022
  • This function attempts to write a boolean into a file/stream and returns how many bytes have actually been written. The amount of int file:writeBoolean ( boolean value )
    541 bytes (79 words) - 23:47, 16 January 2022
View ( | ) (20 | 50 | 100 | 250 | 500)