Improved interface of locateFileInZip and readDataWithBuffer in NSError variant

This commit is contained in:
Gianluca Bertani
2015-10-18 14:32:45 +02:00
committed by Gianluca Bertani
parent 07288c8e00
commit f1f4fee67f
9 changed files with 59 additions and 49 deletions
+2
View File
@@ -46,6 +46,8 @@
@param buffer The buffer where read and uncompressed data must be stored.
@return The number of uncompressed bytes read, <code>0</code> if the end of
the file has been reached.
<br/>NOTE: return value convention is different in NSError compliant
interface.
@throws OZZipException If the data could not be read due to an error.
*/
- (NSUInteger) readDataWithBuffer:(nonnull NSMutableData *)buffer;