@@ -123,11 +123,11 @@ * The buffer MUST be at least size * nitems big! * \return The number of bytes read */ - (size_t)readNItems: (size_t)nitems ofSize: (size_t)size - intoBuffer: (uint8_t*)buf; + intoBuffer: (char*)buf; /** * Writes from a buffer into the file. * * \param buf The buffer from which the data is written to the file @@ -135,7 +135,7 @@ * \param nitem The number of items to write * \return The number of bytes written */ - (size_t)writeNItems: (size_t)nitems ofSize: (size_t)size - fromBuffer: (const uint8_t*)buf; + fromBuffer: (const char*)buf; @end