iceberg-cpp
Loading...
Searching...
No Matches
Static Public Attributes | List of all members
iceberg::puffin::PuffinFormat Struct Reference

Puffin file format constants. More...

#include <puffin_format.h>

Static Public Attributes

static constexpr std::array< uint8_t, 4 > kMagicV1 = {0x50, 0x46, 0x41, 0x31}
 Magic bytes: "PFA1" (Puffin Fratercula arctica, version 1)
 
static constexpr int32_t kMagicLength = 4
 
static constexpr int32_t kFooterStartMagicOffset = 0
 
static constexpr int32_t kFooterStartMagicLength = kMagicLength
 
static constexpr int32_t kFooterStructPayloadSizeOffset = 0
 
static constexpr int32_t kFooterStructFlagsOffset = kFooterStructPayloadSizeOffset + 4
 
static constexpr int32_t kFooterStructFlagsLength = 4
 
static constexpr int32_t kFooterStructMagicOffset
 
static constexpr int32_t kFooterStructLength = kFooterStructMagicOffset + kMagicLength
 Total length of the footer struct: payload_size(4) + flags(4) + magic(4)
 
static constexpr PuffinCompressionCodec kDefaultFooterCompressionCodec
 Default compression codec for footer payload.
 

Detailed Description

Puffin file format constants.

Member Data Documentation

◆ kDefaultFooterCompressionCodec

constexpr PuffinCompressionCodec iceberg::puffin::PuffinFormat::kDefaultFooterCompressionCodec
staticconstexpr
Initial value:
=
PuffinCompressionCodec::kLz4

Default compression codec for footer payload.

◆ kFooterStructMagicOffset

constexpr int32_t iceberg::puffin::PuffinFormat::kFooterStructMagicOffset
staticconstexpr
Initial value:
=
kFooterStructFlagsOffset + kFooterStructFlagsLength

The documentation for this struct was generated from the following file: