Skip to main content

Module codec

Module codec 

Source
Expand description

The STEP codec: format detection, parse policy, and model I/O.

Two types rather than one configurable type. StepCodec is the strict reader and stays zero-sized, so it can be named as a value wherever a codec is needed. StepReader carries an explicit ParseOptions for consumers that opt into malformed-record recovery. Both implement Codec, so either can be stored in a Box<dyn Codec> alongside the other formats.

Structsยง

StepCodec
The STEP physical file codec.
StepReader
A STEP codec carrying an explicit parse policy.