11 #ifndef UT_COMPRESSEDBLOCKINDEX_H_
12 #define UT_COMPRESSEDBLOCKINDEX_H_
30 void setBlockSize(
exint block_size,
exint last_block_size);
39 exint getTotalUncompressedSize()
const;
48 exint uncompressed_offset_from_end)
const;
51 exint getBlockNumberCompressedOffset(
55 int64 getLength()
const;
58 exint getBlockSize()
const;
61 exint getLastBlockSize()
const;
65 void writeToStream(std::ostream* out)
const;
71 void dump(
const char *msg=
"")
const;
78 exint myLastBlockSize;
83 #endif // UT_COMPRESSEDBLOCKINDEX_H_
UT_IntrusivePtr< UT_CompressedBlockIndex > UT_CompressedBlockIndexPtr
A reference counter base class for use with UT_IntrusivePtr.
constexpr auto in(type t, int set) -> bool