|
libnpy 2.0.0
Lightweight C++ library for reading and writing NPY and NPZ files
|
Struct representing a file in the NPZ archive. More...
#include <npy.h>

Public Member Functions | |
| bool | check (const file_entry &other) const |
Public Attributes | |
| std::string | filename |
| The name of the file. | |
| std::uint32_t | crc32 |
| The CRC32 checksum of the uncompressed data. | |
| std::uint64_t | compressed_size |
| The size of the compressed data. | |
| std::uint64_t | uncompressed_size |
| The size of the uncompressed data. | |
| std::uint16_t | compression_method |
| The method used to compress the data. | |
| std::uint64_t | offset |
| The offset of the file in the archive. | |
Struct representing a file in the NPZ archive.
| bool npy::file_entry::check | ( | const file_entry & | other | ) | const |
Check if this entry matches another entry
| other | the other entry |
| std::uint64_t npy::file_entry::compressed_size |
The size of the compressed data.
| std::uint16_t npy::file_entry::compression_method |
The method used to compress the data.
| std::uint32_t npy::file_entry::crc32 |
The CRC32 checksum of the uncompressed data.
| std::string npy::file_entry::filename |
The name of the file.
| std::uint64_t npy::file_entry::offset |
The offset of the file in the archive.
| std::uint64_t npy::file_entry::uncompressed_size |
The size of the uncompressed data.