TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ calc_bson_string_size()

template<typename BasicJsonType , typename CharType >
static std::size_t nlohmann::detail::binary_writer< BasicJsonType, CharType >::calc_bson_string_size ( const string_t &  value)
inlinestaticprivate
Returns
The size of the BSON-encoded string in value

Definition at line 14835 of file json.hpp.

14836 {
14837 return sizeof(std::int32_t) + value.size() + 1ul;
14838 }
@ value
the parser finished reading a JSON value