2#ifndef ENDOFCENTRALDIRECTORY_HPP
3#define ENDOFCENTRALDIRECTORY_HPP
58 void write(std::ostream & os);
Marker at the end of a Zip archive file.
std::string m_zip_comment
size_t getCentralDirectorySize() const
Retrieve the size of the Central Directory in bytes.
void setOffset(offset_t new_offset)
Offset of the Central Directory.
size_t getCount() const
Retrieve the number of entries.
offset_t getOffset() const
Retrieve the offset of the Central Directory.
size_t m_central_directory_entries
void write(std::ostream &os)
Write the ZipEndOfCentralDirectory structure to a stream.
bool read(::zipios::buffer_t const &buf, size_t pos)
Attempt to read an ZipEndOfCentralDirectory structure.
offset_t m_central_directory_offset
void setCentralDirectorySize(size_t size)
Define the size of the central directory.
void setCount(size_t c)
Set the number of entries.
size_t m_central_directory_size
The zipios namespace includes the Zipios library definitions.
std::vector< unsigned char > buffer_t
A buffer of characters.
Various functions used throughout the library.