EncodingScheme.validLength

Returns the length of the longest possible substring, starting from the first element, which is validly encoded.

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

Parameters

s const(ubyte)[]

the array to be tested

Meta