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§
- Segment
Footer - Decoded segment footer body.
Constants§
- FOOTER_
MAGIC b"NDFT"— NodeDB Footer Trailer.- TRAILER_
SIZE