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

Function is_byte_string

include/jsoncons/basic_json.hpp:3240–3253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3238 }
3239
3240 bool is_byte_string() const noexcept
3241 {
3242 switch (storage_kind())
3243 {
3244 case json_storage_kind::byte_str:
3245 return true;
3246 case json_storage_kind::const_json_ref:
3247 return cast<const_json_ref_storage>().value().is_byte_string();
3248 case json_storage_kind::json_ref:
3249 return cast<json_ref_storage>().value().is_byte_string();
3250 default:
3251 return false;
3252 }
3253 }
3254
3255 bool is_byte_string_view() const noexcept
3256 {

Callers 1

is_byte_string_viewFunction · 0.85

Calls 2

storage_kindFunction · 0.85
valueMethod · 0.45

Tested by

no test coverage detected