MCPcopy Create free account
hub / github.com/bcndev/bytecoin / begin_array

Method begin_array

src/seria/BinaryOutputStream.cpp:27–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25void BinaryOutputStream::next_map_key(std::string &name) { ser(name, *this); }
26
27bool BinaryOutputStream::begin_array(size_t &size, bool fixed_size) {
28 if (!fixed_size)
29 stream.write_varint(size);
30 return true;
31}
32
33bool BinaryOutputStream::seria_v(int64_t &value) {
34 stream.write_varint(static_cast<uint64_t>(value));

Callers

nothing calls this directly

Calls 1

write_varintMethod · 0.80

Tested by

no test coverage detected