GridFormat 0.2.1
I/O-Library for grid-like data structures
Loading...
Searching...
No Matches
common.hpp File Reference

Common classes used in the context of data compression. More...

#include <vector>
#include <utility>
#include <numeric>
#include <gridformat/common/exceptions.hpp>
#include <gridformat/common/serialization.hpp>

Go to the source code of this file.

Classes

struct  GridFormat::Compression::Blocks< HeaderType >
 Stores the block sizes used for compressing the given amount of bytes. More...
 
struct  GridFormat::Compression::CompressedBlocks< HeaderType >
 Stores the uncompressed/compressed block sizes after completion of a compression. More...
 

Variables

constexpr std::size_t GridFormat::Compression::default_block_size = (1 << 15)
 as in VTK (https://gitlab.kitware.com/vtk/vtk/-/blob/65fc526a83ac829628a9462f61fa57f1801e2c7e/IO/XML/vtkXMLWriterBase.cxx#L44)