MCPcopy Create free account
hub / github.com/GDRETools/gdsdecomp / get_msgpack_array

Method get_msgpack_array

external/tinygltf/json.hpp:10139–10155  ·  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

10137 @return whether array creation completed
10138 */
10139 bool get_msgpack_array(const std::size_t len)
10140 {
10141 if (JSON_HEDLEY_UNLIKELY(!sax->start_array(len)))
10142 {
10143 return false;
10144 }
10145
10146 for (std::size_t i = 0; i < len; ++i)
10147 {
10148 if (JSON_HEDLEY_UNLIKELY(!parse_msgpack_internal()))
10149 {
10150 return false;
10151 }
10152 }
10153
10154 return sax->end_array();
10155 }
10156
10157 /*!
10158 @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