Skip to main content

is_binary_rds

Function is_binary_rds 

Source
pub fn is_binary_rds(data: &[u8]) -> bool
Expand description

Check if bytes look like a GNU R binary RDS file.

Returns true if the data starts with ‘X\n’, ‘A\n’, ‘B\n’, or a gzip header.