MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / to_msgpack

Function to_msgpack

dependencies/json/json.hpp:23729–23734  ·  view source on GitHub ↗

! @brief create a MessagePack serialization of a given JSON value Serializes a given JSON value @a j to a byte vector using the MessagePack serialization format. MessagePack is a binary serialization format which aims to be more compact than JSON itself, yet more efficient to parse. The library uses the following mapping from JSON values types to MessagePack types accordi

Source from the content-addressed store, hash-verified

23727 @since version 2.0.9
23728 */
23729 static std::vector<uint8_t> to_msgpack(const basic_json& j)
23730 {
23731 std::vector<uint8_t> result;
23732 to_msgpack(j, result);
23733 return result;
23734 }
23735
23736 static void to_msgpack(const basic_json& j, detail::output_adapter<uint8_t> o)
23737 {

Callers

nothing calls this directly

Calls 1

write_msgpackMethod · 0.45

Tested by

no test coverage detected