@@ -20,21 +20,21 @@ * \param size The size of the data that should be read. * The buffer MUST be at least size big! * \return The number of bytes read */ - (size_t)readNBytes: (size_t)size - intoBuffer: (uint8_t*)buf; + intoBuffer: (char*)buf; /** * Writes from a buffer into the stream. * * \param buf The buffer from which the data is written to the stream * \param size The size of the data that should be written * \return The number of bytes written */ - (size_t)writeNBytes: (size_t)size - fromBuffer: (const uint8_t*)buf; + fromBuffer: (const char*)buf; /** * Writes a C string into the stream, without the trailing zero. * * \param str The C string from which the data is written to the stream