EncodingScheme.validLength
size_t validLength()(const(ubyte)[] s)Returns the length of the longest possible substring, starting from the first element, which is validly encoded.
Parameters
s | the array to be tested |
size_t validLength()(const(ubyte)[] s)Returns the length of the longest possible substring, starting from the first element, which is validly encoded.
s | the array to be tested |