Skip to main content

recognizes

Function recognizes 

Source
pub fn recognizes(bytes: &[u8]) -> bool
Expand description

Whether bytes are an AltiMAX .ALS file: a header stating at least one record and a zero pressure a pad’s, 50,000 to 110,000 Pa, and the first records, up to 1,000, each with its kind’s bit 0 set and bit 1 clear and its voltage channel the one after the record before’s. The bytes held to the sample aren’t read here: read refuses a file that differs there, naming the byte.