@@ -108,7 +108,7 @@ * \param buf The buffer from which the data is written to the file * \param size The size of the data that should be written * \return The number of bytes written */ - (size_t)writeNBytes: (size_t)size - fromBuffer: (uint8_t*)buf; + fromBuffer: (const uint8_t*)buf; @end