EncodingScheme.count

size_t count()(const(ubyte)[] s)

Returns the total number of code points encoded in a ubyte array.

The input to this function MUST be validly encoded. This is enforced by the function's in-contract.

Parameters

sthe string to be counted