@@ -8,10 +8,11 @@ * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ #import +#import #import "OFObject.h" @interface OFFile: OFObject { @@ -33,14 +34,14 @@ - initWithPath: (const char*)path andMode: (const char*)mode; - free; - (BOOL)atEndOfFile; -- (size_t)readIntoBuffer: (char*)buf +- (size_t)readIntoBuffer: (uint8_t*)buf withSize: (size_t)size andNItems: (size_t)nItems; -- (char*)readWithSize: (size_t)size - andNItems: (size_t)nitems; -- (size_t)writeBuffer: (char*)buf +- (uint8_t*)readWithSize: (size_t)size + andNItems: (size_t)nitems; +- (size_t)writeBuffer: (uint8_t*)buf withSize: (size_t)size andNItems: (size_t)nitems; @end