Expand description
ISCC codec: type enums, header encoding/decoding, base32, and component encoding.
Provides the foundational encoding primitives that all gen_*_v0 functions
depend on to produce ISCC-encoded output strings. This is a Tier 2 module —
available to Rust consumers but not exposed through FFI bindings.
Enums§
Functions§
- decode_
base32 - Decode base32 string to bytes (case-insensitive, no padding expected).
- decode_
header - Decode ISCC header from bytes.
- decode_
length - Decode header length field to actual bit length.
- decode_
units - Decode a unit combination index (0–7) to a sorted list of optional MainTypes.
- encode_
base32 - Encode bytes as base32 (RFC 4648, uppercase, no padding).
- encode_
base64 - Encode bytes as base64url (RFC 4648 §5, no padding).
- encode_
component - Encode an ISCC-UNIT with header and body as a base32 string.
- encode_
header - Encode ISCC header fields into bytes.
- encode_
length - Encode bit length to header length field value.
- encode_
units - Encode optional ISCC-UNIT MainTypes as a unit combination index (0–7).
- iscc_
decompose - Decompose a composite ISCC-CODE or ISCC sequence into individual ISCC-UNITs.