Skip to main content

has_start_code

Function has_start_code 

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

Returns true if data begins with a 3-byte or 4-byte Annex B start code.