Expand description
Semantic multicodec registry lookup, prefix handling, and metadata. Semantic layer for multicodec lookup operations.
The public protobuf, FFI, JNI, WASM, and SDK adapters are responsible for transport validation and representation conversion. This module owns the operation meaning so adapters do not independently classify multicodec lookup failures or table metadata.
Structs§
- Multicodec
Lookup - Semantic result for prefix lookup by payload bytes.
- Multicodec
Spec - Borrowed semantic metadata for one supported multicodec entry.
- Multicodec
Table - Semantic result for the supported multicodec table.
Enums§
- Codec
Tag - Semantic class of a supported multicodec entry.
- KeyMaterial
Kind - Semantic key-material classification for a supported multicodec entry.
- Multicodec
Length - Semantic length rule for the value described by a multicodec entry.
- Multicodec
Operation Error - Semantic failure reasons for multicodec lookup operations.
Functions§
- lookup_
prefix - Resolve the known multicodec prefix at the start of
value. - prefix_
for_ name - Resolve a canonical multicodec name to semantic registry metadata.
- strip_
prefix - Strip a known multicodec prefix, preserving
valuewhen no prefix matches. - supported_
table - Return all supported multicodec entries in stable registry order.