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.
Modules§
- PNA Prelude.
Structs§
- An object providing access to a PNA file. An instance of an Archive can be read and/or written.
- A 4-byte chunk type code.
- Compression level of each algorithm.
- A builder for creating a new RegularEntry.
- Reader for Entry data.
- 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 split Entry for archive splitting.
- A UTF-8 encoded entry reference.
- Error of invalid EntryReference.
- Entry extended attribute.
- Password hash algorithm.
- Metadata information about an entry.
- Permission struct represents an owner, group, and permissions for an entry.
- Represents a raw chunk
- Options for reading an entry.
- Builder for
ReadOptions
. - Entry that read from PNA archive.
- An object providing writing to a solid mode PNA file. An instance of an SolidArchive can be written.
- A solid mode entry.
- A builder for creating a new solid Entry.
- Represents the entry information header that is expressed in the FHED chunk.
- Options for writing an entry.
- Builder for
WriteOptions
.
Enums§
- ChunkType validation error.
- Cipher algorithm.
- Cipher mode of encryption algorithm.
- Compression method.
- Type of entry.
- Encryption algorithm.
- A RegularEntry or SolidEntry read from an archive.
Constants§
- Minimum required size of bytes to represent
Chunk
. length:4 + chunk type:4 + data:0 + crc:4 - The magic number of Portable-Network-Archive
Traits§
- The smallest data unit in PNA.
- Archive entry.