pub fn inspect_bytes(data: &[u8]) -> Result<ModelInfo>Expand description
Inspect model data without loading the payload (spec §1.1).
Useful for validating embedded models or checking metadata without deserializing the full model.
§Errors
Returns an error on a too-small buffer, a bad header, or metadata that extends past the data boundary.