31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{
OF_KINDOF(OFStream *) _stream;
enum {
OF_TAR_ARCHIVE_MODE_READ,
OF_TAR_ARCHIVE_MODE_WRITE,
OF_TAR_ARCHIVE_MODE_APPEND
} _mode;
OF_KINDOF(OFStream *) _lastReturnedStream;
}
/*!
* @brief Creates a new OFTarArchive object with the specified stream.
*
* @param stream A stream from which the tar archive will be read.
* For append mode, this needs to be an OFSeekableStream.
|
|
|
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{
OF_KINDOF(OFStream *) _stream;
enum {
OF_TAR_ARCHIVE_MODE_READ,
OF_TAR_ARCHIVE_MODE_WRITE,
OF_TAR_ARCHIVE_MODE_APPEND
} _mode;
OF_KINDOF(OFStream *) _Nullable _lastReturnedStream;
}
/*!
* @brief Creates a new OFTarArchive object with the specified stream.
*
* @param stream A stream from which the tar archive will be read.
* For append mode, this needs to be an OFSeekableStream.
|