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

Method end_array

src/seria/KVBinaryOutputStream.cpp:137–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137void KVBinaryOutputStream::end_array() {
138 bool valid_array = m_stack.back().state == State::Array;
139 m_stack.pop_back();
140
141 if (verbose_debug)
142 std::cout << "end_array valid_array=" << int(valid_array)
143 << " m_stack.back().state=" << int(m_stack.back().state) << std::endl;
144}
145
146void KVBinaryOutputStream::write_element_prefix(uint8_t type) {
147 invariant(!m_stack.empty(), "unexpected root");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected