! @brief Writes the given @a element_type and @a name to the output adapter */
| 13641 | @brief Writes the given @a element_type and @a name to the output adapter |
| 13642 | */ |
| 13643 | void write_bson_entry_header(const string_t& name, |
| 13644 | const std::uint8_t element_type) |
| 13645 | { |
| 13646 | oa->write_character(to_char_type(element_type)); // boolean |
| 13647 | oa->write_characters( |
| 13648 | reinterpret_cast<const CharType*>(name.c_str()), |
| 13649 | name.size() + 1u); |
| 13650 | } |
| 13651 | |
| 13652 | /*! |
| 13653 | @brief Writes a BSON element with key @a name and boolean value @a value |
nothing calls this directly
no test coverage detected