ObjFW  Diff

Differences From Artifact [0828962522]:

To Artifact [61195747ef]:


102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
102
103
104
105
106
107
108





109
110
111
112
113
114
115







-
-
-
-
-







 * \param path The path to the file to open as a string
 * \param mode The mode in which the file should be opened as a string
 * \return An initialized OFFile
 */
- initWithPath: (OFString*)path
       andMode: (OFString*)mode;

/**
 * \return A boolean whether the end of the file has been reached
 */
- (BOOL)atEndOfFile;

/**
 * Reads from the file into a buffer.
 *
 * \param buf The buffer into which the data is read
 * \param size The size of the data that should be read.
 *	  The buffer MUST be at least size * nitems big!
 * \param nitems nitem The number of items to read