cpp/string/byte/strlen

Returns the length of the given byte string, that is, the number of characters in a character array whose first element is pointed to by up to and not including the first null character. The behavior is undefined if there is no null character in the character array pointed to by.

Return value
The length of the null-terminated string.