2 summary:: An abstract class
3 related:: Classes/File, Classes/Pipe
8 private::prGetLine, addOpenFile
11 Returns whether the file is open. An open request can fail if a file cannot be found for example. This method lets you test that the open call succeeded.
14 Answer the current file position
17 Seek to an offset from the origin.
23 one of the following link::Classes/Integer::s:
25 ## 0 || seek from beginning of file.
26 ## 1 || seek from current position in file.
27 ## 2 || seek from end of file.
31 Writes an item to the file.
36 ## link::Classes/Float:: ||
37 ## link::Classes/Integer:: ||
38 ## link::Classes/Char:: ||
39 ## link::Classes/Color:: ||
40 ## link::Classes/Symbol:: || writes the name of the Symbol as a C string.
41 ## link::Classes/RawArray:: || write the bytes from any RawArray in big endian.
45 reads and returns a link::Classes/String:: up to lesser of next newline or 1023 chars.
48 read one byte and return as a link::Classes/Char::.
51 read one byte and return as a link::Classes/Integer::.
54 read two bytes and return as an link::Classes/Integer::.
57 read four bytes and return as an link::Classes/Integer::.
60 read four bytes and return as a link::Classes/Float::.
63 read eight bytes and return as a link::Classes/Float::.
66 write a link::Classes/Char:: as one byte.
69 write an link::Classes/Integer:: as one byte. That is a signed link::Classes/Integer:: value between -128 and 127.
72 write an link::Classes/Integer:: as two bytes.
75 write an link::Classes/Integer:: as four bytes.
78 write a link::Classes/Float:: as four bytes.
81 write a link::Classes/Float:: as eight bytes.
84 write a null terminated link::Classes/String::.