MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / write_bson_boolean

Method write_bson_boolean

dependencies/json/json.hpp:13730–13735  ·  view source on GitHub ↗

! @brief Writes a BSON element with key @a name and boolean value @a value */

Source from the content-addressed store, hash-verified

13728 @brief Writes a BSON element with key @a name and boolean value @a value
13729 */
13730 void write_bson_boolean(const string_t& name,
13731 const bool value)
13732 {
13733 write_bson_entry_header(name, 0x08);
13734 oa->write_character(value ? to_char_type(0x01) : to_char_type(0x00));
13735 }
13736
13737 /*!
13738 @brief Writes a BSON element with key @a name and double value @a value

Callers

nothing calls this directly

Calls 1

write_characterMethod · 0.45

Tested by

no test coverage detected