21#import "OFLHAArchiveEntry.h"
24OF_ASSUME_NONNULL_BEGIN
34OF_SUBCLASSING_RESTRICTED
41#ifdef OF_LHA_ARCHIVE_M
44 OFStream *_Nullable _lastReturnedStream;
75+ (instancetype)archiveWithIRI: (
OFIRI *)IRI mode: (
OFString *)mode;
88- (instancetype)
init OF_UNAVAILABLE;
101- (instancetype)initWithStream: (
OFStream *)stream
102 mode: (
OFString *)mode OF_DESIGNATED_INITIALIZER;
114- (instancetype)initWithIRI: (
OFIRI *)IRI mode: (
OFString *)mode;
OFStringEncoding
The encoding of a string.
Definition OFString.h:65
A class for representing IRIs, URIs, URLs and URNs, for parsing them as well as accessing parts of th...
Definition OFIRI.h:41
A class which represents an entry in an LHA archive.
Definition OFLHAArchiveEntry.h:40
A class for accessing and manipulating LHA files.
Definition OFLHAArchive.h:36
nullable OFLHAArchiveEntry * nextEntry()
Returns the next entry from the LHA archive or nil if all entries have been read.
Definition OFLHAArchive.m:183
void close()
Closes the OFLHAArchive.
Definition OFLHAArchive.m:297
OFStream * streamForReadingCurrentEntry()
Returns a stream for reading the current entry.
Definition OFLHAArchive.m:248
OFStringEncoding encoding
The encoding to use for the archive. Defaults to UTF-8.
Definition OFLHAArchive.h:52
The root class for all other classes inside ObjFW.
Definition OFObject.h:692
instancetype init()
Initializes an already allocated object.
Definition OFObject.m:696
A base class for different types of streams.
Definition OFStream.h:280
A class for handling strings.
Definition OFString.h:143