22 const auto*
begin = value.data();
23 const auto*
end =
begin + value.size();
33 const char* value = std::getenv(
env_name);
34 if (value ==
nullptr || value[0] ==
'\0') {
uint64_t parse_env_mebibytes(std::string_view value)
Parses a decimal mebibyte count from value.
consteval bool separatorPositionAlwaysEncodesInvalid(char *input, uint64_t separatorPosition, uint64_t index)
Recursively tests whether placing the separator byte at any position in an input of valid bytes alway...
std::string_view getenv_value(const char *env_name)
Reads env_name via getenv, or an empty view when unset.