codec class
- CURIE:
gmeow:codecClass - IRI: https://blackcatinformatics.ca/gmeow/codecClass
- Category: property
- Defined by:
gmeow:slices/gts - Box roles: ConfigBox role, RBox role (What is this?)
The capability class of a transform codec (spec §8): what a reader must hold to reverse it — a library (encode, compress) or a key (encrypt).
Structure
Property shape: object property; gmeow:TransformCodec -> gmeow:CodecClass; functional
Practical Pattern
Use gmeow:codecClass from gmeow:TransformCodec to gmeow:CodecClass when the relationship itself belongs in the native GMEOW graph.
Common Companion Terms
gmeow:TransformCodec, gmeow:CodecClass
Usage Advice
Use when
- Use to tag a transform codec with the capability a reader must hold to reverse it, so the degradation path — unknown-codec vs missing-key opacity — is derivable before decoding.
Avoid when
- Avoid asserting more than one class per codec (it is functional) and avoid using it to name the specific algorithm; the class is the capability category, not the codec identity.
How to use
- Point each
gmeow:TransformCodecat onegmeow:CodecClass(encode, compress, or encrypt); readers use it to decide whether a missing capability yields an unknown-codec or a missing-keygmeow:OpaqueFrame.
Examples
- ex:codecBrotli
gmeow:codecClassgmeow:codecClassCompress.