Expand description
did:q42 Q42 Resource Coordinate (QrcCoordinate) resolver.
A did:q42 URI is a 60-bit + MSB (1 << 63) Q42 Resource Coordinate (QRC)
belonging to Plane::Handle / Plane::Instrument — a physical/topological
coordinate into the Qualia disk/memory layout — never a W3C DID Document
root and never a NaturalAgent (Who) identity.
§Zero-allocation guarantee
All operations work directly on &[u8]. No String or Vec is
constructed at any point in the hot path.
§MSB flag convention
Any u64 returned by this module has bit 63 set to 1. The Webizen VM
uses that bit to distinguish absolute hardware/disk QRC pointers (MSB = 1)
from local dictionary hashes produced by q_hash (MSB = 0).
Enums§
- Identifier
Error - Errors returned by
parse_did_q42andparse_did_q42_or_ptr.
Functions§
- parse_
did_ q42 - Parse a
did:q42:URI byte slice into a 64-bit Q42 Resource Coordinate (QRC). - parse_
did_ q42_ or_ ptr - Parse either a standard
did:q42:<payload>coordinate or a display-serializeddid:q42:ptr/<hex>/<did:q42:ptr/<hex>>coordinate emitted byresolver::format_ntriples_to, returning the canonical 64-bit QRC pointer (MSB = 1, low 60 bits = coordinate payload).