MCPcopy Create free account
hub / github.com/bitfieldaudio/OTTO / get_cbor_array

Method get_cbor_array

external/include/json.hpp:5367–5375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5365
5366 template<typename NumberType>
5367 BasicJsonType get_cbor_array(const NumberType len)
5368 {
5369 BasicJsonType result = value_t::array;
5370 std::generate_n(std::back_inserter(*result.m_value.array), len, [this]()
5371 {
5372 return parse_cbor_internal();
5373 });
5374 return result;
5375 }
5376
5377 template<typename NumberType>
5378 BasicJsonType get_cbor_object(const NumberType len)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected