Skip to main content

parse_fs_file

Function parse_fs_file 

Source
pub fn parse_fs_file(msg: &[u8]) -> Option<(u16, u8, Vec<u8>)>
Expand description

Parse an S2C_FS_FILE message (starting at the opcode byte) into (nonce, status, data). Applies the same decompression guard as FsMirror::apply_update; None = malformed or over-sized.