MCPcopy Create free account
hub / github.com/ChiyukiGana/Quickinput / deserialize_binary

Method deserialize_binary

source/src/typepack/TypePack.h:416–427  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

414 serialize_float64(std::get<float64>(v), out);
415 break;
416 case value::Type::String:
417 serialize_string(std::get<string>(v), out);
418 break;
419 case value::Type::Binary:
420 serialize_binary(std::get<binary>(v), out);
421 break;
422 case value::Type::Array: {
423 const array& a = std::get<array>(v);
424 const Type t = choose_array_type(a.size());
425 out.push_back(static_cast<char>(t));
426 write_uint64(out, a.size(), tag_bytes(t));
427 for (const auto& elem : a) serialize(elem, out);
428 break;
429 }
430 case value::Type::Object: {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected