Crunch
A Message Definition Language for Getting Things Right
Loading...
Searching...
No Matches
Crunch::NullTerminated Struct Reference

Validates that a string does not contain embedded nulls. More...

#include <crunch_validators.hpp>

Static Public Member Functions

template<typename T >
requires std::convertible_to<T, std::string_view>
static constexpr auto Check (T value, FieldId field_id) noexcept -> std::optional< Error >
 

Detailed Description

Validates that a string does not contain embedded nulls.


The documentation for this struct was generated from the following file: