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

Function int64_example

examples/src/bson_examples.cpp:113–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113void int64_example()
114{
115 std::map<std::string, int64_t> m{ {"a", 100000000000000ULL} };
116
117 std::vector<char> buffer;
118 bson::encode_bson(m, buffer);
119 std::cout << jsoncons::byte_string_view(buffer) << "\n\n";
120}
121
122void double_example()
123{

Callers 1

mainFunction · 0.85

Calls 2

encode_bsonFunction · 0.85
byte_string_viewClass · 0.85

Tested by

no test coverage detected