Coverity scanner gets badly confused with SBuf::npos being used as default parameter value, even though its used to indicate that strlen() needs to be used on the string.
This is an experiment to see if it gets less confused by having explicit overloads for the two cases and not using SBuf::npos value in relation to the unknown length c-strings.