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

Method get_msgpack_array

Source/external/json.hpp:10845–10861  ·  view source on GitHub ↗

! @param[in] len the length of the array @return whether array creation completed */

Source from the content-addressed store, hash-verified

10843 @return whether array creation completed
10844 */
10845 bool get_msgpack_array(const std::size_t len)
10846 {
10847 if (JSON_HEDLEY_UNLIKELY(!sax->start_array(len)))
10848 {
10849 return false;
10850 }
10851
10852 for (std::size_t i = 0; i < len; ++i)
10853 {
10854 if (JSON_HEDLEY_UNLIKELY(!parse_msgpack_internal()))
10855 {
10856 return false;
10857 }
10858 }
10859
10860 return sax->end_array();
10861 }
10862
10863 /*!
10864 @param[in] len the length of the object

Callers

nothing calls this directly

Calls 2

start_arrayMethod · 0.45
end_arrayMethod · 0.45

Tested by

no test coverage detected