struct mrpt::io::CCompressedInputStream::Impl

Overview

struct Impl
{
    // fields

    std::string filename;
    CompressionType compressionType = CompressionType::None;
    FILE* gz_raw_file = nullptr;
    gzFile gz_file = nullptr;
    uint64_t gzCompressedBytesRead = 0;
    FILE* rawFile = nullptr;
    ZSTD_DStream* zstdStream = nullptr;
    std::vector<uint8_t> zstdInBuffer;
    ZSTD_inBuffer zstdInput = {nullptr, 0, 0};
    uint64_t zstdCompressedBytesRead = 0;
    std::ifstream plainFile;
    uint64_t bytesReadUncompressed = 0;
    uint64_t uncompressedSizeHint = 0;
};