OdfPackageReader.loadEntryContent

ubyte[] loadEntryContent(string path)

Loads the content of the entry with the given path.

The entry content is read from the underlying ZIP archive on demand. For entries that are directories, this returns an empty array.

Parameters

pathThe entry path to load.

Returns

The uncompressed content bytes.

Throws

OdfPackageException if the entry is not found or the reader is

closed.