Consider a situation working with a 3rd party library (poorly written) and one API method returns a size of a string in bytes as follow:
std::size_t GetNumberOfBy