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
20 one of the following link::Classes/Integer::s:
22 ## 0 || seek from beginning of file.
23 ## 1 || seek from current position in file.
24 ## 2 || seek from end of file.
28 Writes an item to the file.
33 ## link::Classes/Float:: ||
34 ## link::Classes/Integer:: ||
35 ## link::Classes/Char:: ||
36 ## link::Classes/Color:: ||
37 ## link::Classes/Symbol:: || writes the name of the Symbol as a C string.
38 ## link::Classes/RawArray:: || write the bytes from any RawArray in big endian.
42 reads and returns a link::Classes/String:: up to lesser of next newline or 1023 chars.
45 read one byte and return as a link::Classes/Char::.
48 read one byte and return as a link::Classes/Integer::.
51 read two bytes and return as an link::Classes/Integer::.
54 read four bytes and return as an link::Classes/Integer::.
57 read four bytes and return as a link::Classes/Float::.
60 read eight bytes and return as a link::Classes/Float::.
63 write a link::Classes/Char:: as one byte.
66 write an link::Classes/Integer:: as one byte. That is a signed link::Classes/Integer:: value between -128 and 127.
69 write an link::Classes/Integer:: as two bytes.
72 write an link::Classes/Integer:: as four bytes.
75 write a link::Classes/Float:: as four bytes.
78 write a link::Classes/Float:: as eight bytes.
81 write a null terminated link::Classes/String::.