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

Function main

examples/src/cbor_examples.cpp:601–632  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

599}
600
601int main()
602{
603 std::cout << "\ncbor examples\n\n";
604
605 encode_byte_string_with_encoding_hint();
606 encode_cbor_byte_string();
607 encode_to_cbor_stream();
608 cbor_reputon_example();
609 encode_cbor_with_packed_strings();
610
611 decode_cbor_with_packed_strings();
612
613 decode_cbor_byte_string();
614 decode_byte_string_with_encoding_hint();
615
616 working_with_cbor3();
617 std::cout << "\n";
618 working_with_cbor4();
619 std::cout << "\n";
620 working_with_cbor1();
621 std::cout << "\n";
622 working_with_cbor2();
623 std::cout << '\n';
624 encode_to_cbor_buffer();
625 query_cbor();
626
627 ext_type_example();
628 duration_example1();
629 duration_example2();
630
631 encode_with_raw_cbor_tags();
632}
633

Callers

nothing calls this directly

Calls 15

encode_cbor_byte_stringFunction · 0.85
encode_to_cbor_streamFunction · 0.85
cbor_reputon_exampleFunction · 0.85
decode_cbor_byte_stringFunction · 0.85
working_with_cbor3Function · 0.85
working_with_cbor4Function · 0.85
working_with_cbor1Function · 0.85
working_with_cbor2Function · 0.85

Tested by

no test coverage detected