MCPcopy Create free account
hub / github.com/boostorg/json / data

Method data

include/boost/json/string.hpp:727–731  ·  view source on GitHub ↗

Return the underlying character array directly. Returns a pointer to the underlying array serving as storage. The value returned is such that the range `[data(), data() + size())` is always a valid range, even if the container is empty. @note The value returned from this function is never equal to `nullptr`. @par Complexity Constant.

Source from the content-addressed store, hash-verified

725 @{
726 */
727 char*
728 data() noexcept
729 {
730 return impl_.data();
731 }
732
733 char const*
734 data() const noexcept

Callers 15

serialize_cbor_stringFunction · 0.45
mainFunction · 0.45
validateFunction · 0.45
read_jsonsFunction · 0.45
operator()Method · 0.45
from_string_testMethod · 0.45
grindMethod · 0.45
tag_invokeFunction · 0.45
greetingFunction · 0.45
testUtf8SequenceMethod · 0.45
runFunction · 0.45
grind_oneMethod · 0.45

Calls

no outgoing calls

Tested by 2

runFunction · 0.36
TESTFunction · 0.36