readContentBuffer
fn
ubyte[] readContentBuffer(ArchiveReader reader, ref const EntryInfo entry)Read entry content into a newly allocated buffer.
Convenience function that collects all chunks from the ContentSink into a single contiguous ubyte array.
Parameters
reader | The archive reader. |
entry | The entry whose content to read. |
Returns
The entry content as a newly allocated ubyte array.
Note
Prefer using reader.readContent(entry) method instead.