Open ikrivosheev opened 1 year ago
Is it possible to have both methods at once? (folder_reader_iter
and file_reader_iter
). Then the caller could choose whichever is more convenient. Perhaps file_reader_iter
could be implemented in terms of folder_reader_iter
?
If it's not feasible to support both, then I don't think I have a strong preference between the two. Although I guess I might lean slightly towards the folder_reader_iter
version, since it preserves information about the folder structure, which some callers might want. What do you think?
@mdsteele hello! Thank you for the library! I am using it in my projects and wanna improve performance and API.
Now API for read Cabinet file is:
The biggest problem: I cannot store
FolderReader
state between unpacking two different file and I must load all neededDataBlock
for every file. I want to add iterator overFileReader
.I have some ideas how to improve API:
First
Second
What do you think? I have both implementation)