Skip to main content

is_step_file

Function is_step_file 

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

Returns whether bytes begin with the ISO 10303-21 marker.

A UTF-8 BOM and leading ASCII whitespace are accepted because both are emitted by real-world authoring tools.