public String(value as CodeUnit):
Builds a one-character string from a CodeUnit.
This overload is intentionally explicit: CodeUnit.toString() is also used by debug/display paths, where adding quotes can be meaningful. Converting a CodeUnit to a String for text assembly must keep the raw character only.
| Parameter | Description |
|---|---|
value | UTF-16 code unit to encode. |
assert String(`K`) == "K"