MCPcopy Create free account
hub / github.com/MihailRis/voxelcore / array_from_binary

Function array_from_binary

src/coders/binary_json.cpp:123–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123static std::unique_ptr<List> array_from_binary(ByteReader& reader) {
124 auto array = std::make_unique<List>();
125 while (reader.peek() != BJSON_END) {
126 array->put(value_from_binary(reader));
127 }
128 reader.get();
129 return array;
130}
131
132static std::unique_ptr<Map> object_from_binary(ByteReader& reader) {
133 auto obj = std::make_unique<Map>();

Callers 1

value_from_binaryFunction · 0.85

Calls 4

value_from_binaryFunction · 0.85
peekMethod · 0.45
putMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected