Skip to main content

Module header

Module header 

Source

Structs§

BcpHeader
BCP file header — the first 8 bytes of every payload.
HeaderFlags
Header flags bitfield.

Constants§

BCP_MAGIC
Magic number: ASCII “BCP\0”. Written as raw bytes, not as a u32, so byte order doesn’t matter. each u8 (unsigned 8bit integer) can be represented as a byte A single hex digit represents exactly 4 bits (a “nibble”). So a byte (8 bits) is always exactly 2 hex digits
HEADER_SIZE
Total header size in bytes (fixed).
VERSION_MAJOR
Current format version major.
VERSION_MINOR
Current format version minor.