RPNX::Compress
Self-contained C++20 compression and ZIP library
 
Loading...
Searching...
No Matches
rpnx::compression::zip_detail::directory_record Struct Reference

Directory metadata retained until the central directory is emitted. More...

#include <zip.hpp>

Public Attributes

std::string path
 Archive member path.
 
std::uint32_t checksum
 CRC-32 of the uncompressed member.
 
std::uint32_t compressed_size
 Encoded member size.
 
std::uint32_t uncompressed_size
 Decoded member size.
 
std::uint32_t local_header_offset
 Byte offset of the corresponding local header.
 
std::uint16_t method
 ZIP compression-method identifier.
 
std::uint16_t flags
 General-purpose ZIP flags copied to the central directory.
 

Detailed Description

Directory metadata retained until the central directory is emitted.

Definition at line 98 of file zip.hpp.

Member Data Documentation

◆ checksum

std::uint32_t rpnx::compression::zip_detail::directory_record::checksum

CRC-32 of the uncompressed member.

Definition at line 104 of file zip.hpp.

◆ compressed_size

std::uint32_t rpnx::compression::zip_detail::directory_record::compressed_size

Encoded member size.

Definition at line 107 of file zip.hpp.

◆ flags

std::uint16_t rpnx::compression::zip_detail::directory_record::flags

General-purpose ZIP flags copied to the central directory.

Definition at line 119 of file zip.hpp.

◆ local_header_offset

std::uint32_t rpnx::compression::zip_detail::directory_record::local_header_offset

Byte offset of the corresponding local header.

Definition at line 113 of file zip.hpp.

◆ method

std::uint16_t rpnx::compression::zip_detail::directory_record::method

ZIP compression-method identifier.

Definition at line 116 of file zip.hpp.

◆ path

std::string rpnx::compression::zip_detail::directory_record::path

Archive member path.

Definition at line 101 of file zip.hpp.

◆ uncompressed_size

std::uint32_t rpnx::compression::zip_detail::directory_record::uncompressed_size

Decoded member size.

Definition at line 110 of file zip.hpp.


The documentation for this struct was generated from the following file: