MCPcopy Create free account
hub / github.com/danielaparker/jsoncons / as_byte_string_view

Function as_byte_string_view

include/jsoncons/basic_json.hpp:1651–1659  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1649 }
1650
1651 byte_string_view as_byte_string_view() const
1652 {
1653 auto result = try_as_byte_string_view();
1654 if (!result)
1655 {
1656 JSONCONS_THROW(conv_error(result.error().code()));
1657 }
1658 return *result;
1659 }
1660
1661 int compare(const basic_json& rhs) const noexcept
1662 {

Callers 4

compareFunction · 0.85
asFunction · 0.85
basic_json.hppFile · 0.85
try_dump_noflushFunction · 0.85

Calls 4

try_as_byte_string_viewFunction · 0.85
conv_errorClass · 0.85
errorMethod · 0.80
codeMethod · 0.45

Tested by

no test coverage detected