Skip to main content

Crate cadmpeg_protein

Crate cadmpeg_protein 

Source
Expand description

Schema-driven decoding of Protein InstanceProperties records.

Modules§

appearance
Neutral material and texture projection. Neutral projection of Protein texture assets and material property names.
framing
Paged logical-record framing. Paged logical-record framing.
property
Decoded property carriers and their serialized representation. Decoded property carriers and their serialized representation.

Structs§

DecodeOutcome
Complete schema-driven result for one paged instance stream.
DecodedRecord
One paged Protein instance record.
RejectedRecord
One paged instance record rejected by schema-driven decoding.
SchemaCatalog
Parsed Protein schemas with inherited properties resolved once per schema.

Constants§

CONTINUATION_MARKER
Continuation marker at page bytes 4..8.
PAGE_SIZE
Instance-page length in bytes (0x88).
RECORD_MARKER
Record-start marker at page bytes 4..8.
STREAM_HEADER_LEN
Instance-stream header length in bytes.
TERMINAL_MARKER
Terminal marker at page bytes 0..4.

Functions§

decode_detailed
Decode every instance record through one caller-owned decode session.
decode_frames
Decode framed records against one parsed schema catalog.
decode_frames_for_edit
Decode already framed records for source-retaining export edits.
has_schemas
Whether the Protein archive packages schema XML documents.