klyn.UShort.UShort
constructor
public native UShort(value as Char)
Description

Builds a UShort from a Unicode scalar value.

Parameters
ParameterDescription
valueChar whose code point is converted.
Throws
  • ValueException if the code point does not fit in a UShort.
Example
assert UShort('π') == 0x03C0u