StaticnewStaticfromStaticparseGet the URI as a string reference.
Get the URI string.
Get the URI string (alias).
Get the raw URI string.
Get scheme (e.g., "http", "https", "urn").
Get path component.
Check if URI is absolute (has a scheme).
Check if URI is relative.
Check if URI starts with given prefix.
Get base64 representation of the URI string.
Get the length of the URI string.
Returns the CBOR tags associated with URI.
Returns the untagged CBOR encoding (as a text string).
Returns the tagged CBOR encoding.
Returns the tagged value in CBOR binary representation.
StaticfromStaticfromStaticfromReturns the UR representation of the URI. Note: URs use untagged CBOR since the type is conveyed by the UR type itself.
Returns the UR string representation.
StaticfromStaticfrom
Creates a new
URIfrom a string with validation.