Skip to main content

MAGIC

Constant MAGIC 

Source
pub const MAGIC: [u8; 16];
Expand description

The sixteen bytes at offset zero of every .yo file.

Sixteen and not eight so that the human readable part survives a hex dump, and trailing NULs rather than spaces so that a C string comparison of the first twelve bytes does the right thing.