MCPcopy Create free account
hub / github.com/Open-GD/OpenGD / basic_json binary

Function basic_json binary

Source/external/json.hpp:20125–20132  ·  view source on GitHub ↗

@brief explicitly create a binary array (without subtype) @sa https://json.nlohmann.me/api/basic_json/binary/

Source from the content-addressed store, hash-verified

20123 /// @brief explicitly create a binary array (without subtype)
20124 /// @sa https://json.nlohmann.me/api/basic_json/binary/
20125 JSON_HEDLEY_WARN_UNUSED_RESULT
20126 static basic_json binary(const typename binary_t::container_type& init)
20127 {
20128 auto res = basic_json();
20129 res.m_type = value_t::binary;
20130 res.m_value = init;
20131 return res;
20132 }
20133
20134 /// @brief explicitly create a binary array (with subtype)
20135 /// @sa https://json.nlohmann.me/api/basic_json/binary/

Callers

nothing calls this directly

Calls 1

basic_jsonFunction · 0.85

Tested by

no test coverage detected