EncodingScheme.count

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.

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

Parameters

s const(ubyte)[]

the string to be counted

Meta