EncodingScheme.encodedLength

size_t encodedLength(dchar c)

Returns the number of ubytes required to encode this code point.

The input to this function MUST be a valid code point.

Parameters

cthe code point to be encoded

Returns

the number of ubytes required.