codeLength

fnubyte codeLength(C)(dchar c) @safe pure nothrow @nogc

Returns the code length of c in the encoding using C as a code point. The code is returned in character count, not in bytes.