Skip to content

Header

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

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

Name Kind Owner
magic variable Declared here
block_type variable Declared here
block_id variable Declared here
flags variable Declared here
payload_size variable Declared here
checksum variable Declared here
_reserved variable Declared here
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

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

Magic bytes must always match.


hd_std::uint8_t block_type

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

Block type - payloads, or metadata.


hd_std::uint8_t block_id

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

Identifier to associate block to name/type.


hd_std::uint8_t flags

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

Feature flags.


hd_std::uint32_t payload_size

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

Total size of the upcoming payload.


hd_std::uint32_t checksum

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

Corruption checksum.


hd_std::uint32_t _reserved

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

Reserved for future use.