MCPcopy Create free account
hub / github.com/Open-GD/OpenGD / calc_bson_binary_size

Method calc_bson_binary_size

Source/external/json.hpp:16037–16040  ·  view source on GitHub ↗

! @return The size of the BSON-encoded binary array @a value */

Source from the content-addressed store, hash-verified

16035 @return The size of the BSON-encoded binary array @a value
16036 */
16037 static std::size_t calc_bson_binary_size(const typename BasicJsonType::binary_t& value)
16038 {
16039 return sizeof(std::int32_t) + value.size() + 1ul;
16040 }
16041
16042 /*!
16043 @brief Writes a BSON element with key @a name and array @a value

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected