Skip to main content

Module footer

Module footer 

Source
Expand description

Segment footer — trailing metadata block.

Trailer (last 16 bytes of the file):

┌─────────────┬───────────────┬────────┐
│ footer_off  │ footer_length │ magic  │
│   8 byte    │     4 byte    │ 4 byte │
└─────────────┴───────────────┴────────┘

The footer body sits at footer_off..footer_off+footer_length and is a single framed block (length + payload + CRC). The payload is a zerompk-encoded SegmentFooter.

Structs§

SegmentFooter
Decoded segment footer body.

Constants§

FOOTER_MAGIC
b"NDFT" — NodeDB Footer Trailer.
TRAILER_SIZE