Expand description
A library for reading and writing PNA archives
This library provides utilities necessary to manage PNA archives abstracted over a reader or writer. Great strides are taken to ensure that an archive is never required to be fully resident in memory, and all objects provide largely a streaming interface to read bytes from.
Structs
- An object providing access to a PNA file. An instance of a Archive can be read and/or written depending on the [T].
- A 4-byte chunk type code.
- A builder for creating a new RegularEntry.
- Reader for Entry data. this struct impl
Readtrait. - Represents the entry information header that is expressed in the FHED chunk.
- A UTF-8 encoded entry name.
- Error of invalid EntryName
- A structure representing the Entry or the SolidEntries split for archive splitting.
- A UTF-8 encoded entry reference.
- MetaData information about a entry
- Permission struct represents a owner, group, and permissions for a entry.
- Represents a raw chunk
- Builder for
ReadOption. - Entry that read from PNA archive.
- A builder for creating a new solid Entry.
- Represents the entry information header that is expressed in the FHED chunk.
Enums
Constants
- Minimum required size of bytes to represent
Chunk. - The magic number of Portable-Network-Archive
Traits
- The smallest data unit in PNA
- Archive entry.
- SolidEntriesDeprecatedSolid mode entries block.
Type Aliases
- ArchiveReaderDeprecatedA reader for Portable-Network-Archive.
- ArchiveWriterDeprecatedA writer for Portable-Network-Archive.
- ReadEntryDeprecated