1#ifndef CASACORE_SHAPES_FILE_WRITER_H_
2#define CASACORE_SHAPES_FILE_WRITER_H_
6#include <casacore/casa/Arrays/IPosition.h>
24 for (ssize_t
value : position) {
32 const uint32_t uncompressed_size =
buffer_.size() *
sizeof(uint64_t);
34 std::span input(
reinterpret_cast<const std::byte*
>(
buffer_.data()),
36 const uint32_t compressed_size =
38 file_.write(
reinterpret_cast<const char*
>(&uncompressed_size),
40 file_.write(
reinterpret_cast<const char*
>(&compressed_size),
static constexpr size_t kMaxBufferSize
deflate::Compressor compressor_
std::vector< uint64_t > buffer_
void Write(const IPosition &position)
ShapesFileWriter(const std::string &filename)
std::vector< std::byte > compressed_buffer_
this file contains all the compiler specific defines
NewDelAllocator< T > NewDelAllocator< T >::value