Differences From Artifact [f2708a375a]:
- File src/OFTarArchive.h — part of check-in [9db1965939] at 2018-05-26 07:56:22 on branch trunk — OFTarArchive: Allow specifying the encoding (user: js, size: 5029) [annotate] [blame] [check-ins using]
To Artifact [1091af78e2]:
- File
src/OFTarArchive.h
— part of check-in
[790b5344d6]
at
2018-05-26 23:04:24
on branch trunk
— Add OFLHAArchive
This is currently limited to reading uncompressed LHA level 2 files. (user: js, size: 5087) [annotate] [blame] [check-ins using]
︙ | |||
38 39 40 41 42 43 44 | 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | - + - + | OF_TAR_ARCHIVE_MODE_APPEND } _mode; of_string_encoding_t _encoding; OF_KINDOF(OFStream *) _Nullable _lastReturnedStream; } /*! |
︙ | |||
79 80 81 82 83 84 85 86 87 88 89 90 91 92 | 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | + + | * "w" for creating a new file and "a" for appending to an existing * archive. * @return A new, autoreleased OFTarArchive */ + (instancetype)archiveWithPath: (OFString *)path mode: (OFString *)mode; #endif - (instancetype)init OF_UNAVAILABLE; /*! * @brief Initializes an already allocated 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. |
︙ |