Skip to main content

read_magic_bytes

Function read_magic_bytes 

Source
pub fn read_magic_bytes(path: &Path) -> SisterResult<[u8; 4]>
Expand description

Helper: Read 4-byte magic from a file path.

Useful for sisters with binary formats to quickly identify files.