Garry's Mod Wiki

Revision Difference

file_class#546871

<ambig page="file">You might be looking for the "file" Library, which has the same name as this class.</ambig> <type name="File" category="classfunc" is="class"> <summary>This is the file object. It used used primarily to read or write binary data from files. <summary>This is the file object. It used used primarily to read or write binary data from files. The default endianness is little-endian. To use big-endian you will need to provide your own functions to read and write shorts and longs.⤶ The object is returned by <page>file.Open</page>. </summary> </type>