Class ReferenceLiteral
Version 1 lossless Unicode reference literals.
Inheritance
ReferenceLiteral
Namespace: Link.Foundation.Links.Notation
Assembly: Link.Foundation.Links.Notation.dll
Syntax
public static class ReferenceLiteral
Methods
|
Edit this page
View Source
Decode(string)
Decodes a complete literal; malformed UTF-8 and versions are refused.
Declaration
public static string Decode(string literal)
Parameters
| Type |
Name |
Description |
| string |
literal |
|
Returns
|
Edit this page
View Source
Encode(string)
Encodes exact Unicode as a version 1 UTF-8 hexadecimal literal.
Declaration
public static string Encode(string text)
Parameters
| Type |
Name |
Description |
| string |
text |
|
Returns