Skip to content

Header

#include <sbio/formats/random/randfmt.hh>
struct Header

Defined in src/lib/sbio/formats/random/randfmt.hh:111

Return Name Description
char magic Magic bytes must always match.
hd_std::uint8_t block_type Block type - payloads, or metadata.
hd_std::uint8_t block_id Identifier to associate block to name/type.
hd_std::uint8_t flags Feature flags.
hd_std::uint32_t payload_size Total size of the upcoming payload.
hd_std::uint32_t checksum Corruption checksum.
hd_std::uint32_t _reserved Reserved for future use.

char magic[8]

Defined in src/lib/sbio/formats/random/randfmt.hh:112

Magic bytes must always match.


hd_std::uint8_t block_type

Defined in src/lib/sbio/formats/random/randfmt.hh:113

Block type - payloads, or metadata.


hd_std::uint8_t block_id

Defined in src/lib/sbio/formats/random/randfmt.hh:114

Identifier to associate block to name/type.


hd_std::uint8_t flags

Defined in src/lib/sbio/formats/random/randfmt.hh:115

Feature flags.


hd_std::uint32_t payload_size

Defined in src/lib/sbio/formats/random/randfmt.hh:116

Total size of the upcoming payload.


hd_std::uint32_t checksum

Defined in src/lib/sbio/formats/random/randfmt.hh:117

Corruption checksum.


hd_std::uint32_t _reserved

Defined in src/lib/sbio/formats/random/randfmt.hh:118

Reserved for future use.