ReadonlydecodeDecode untrusted input and validate it against the schema.
ReadonlydecodeDecode and validate untrusted input synchronously; throws on validation failure.
ReadonlydescriptionFormatted register description. The schema carries the same text as its description annotation.
ReadonlyencodeEncode a domain value; schema validation failures use the error channel.
ReadonlyencodeEncode a domain value synchronously; throws on schema validation failure.
ReadonlyformattedFormat a domain value as text.
ReadonlymetaRegister metadata that the factory received.
The type keeps the literal values of a metadata literal, so an editor shows the name, unit, and range of the register on hover.
ReadonlyregisterRegister address that the factory received.
Readonlyschema
A decode/encode/format bundle over a concrete schema
S.Value and wire types are read straight off the schema via
S['Type']andS['Encoded'], so a branded or literal-union domain stays visible to callers.