TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ calc_bson_unsigned_size()

template<typename BasicJsonType , typename CharType >
static constexpr std::size_t nlohmann::detail::binary_writer< BasicJsonType, CharType >::calc_bson_unsigned_size ( const std::uint64_t  value)
inlinestaticconstexprprivatenoexcept
Returns
The size of the BSON-encoded unsigned integer in j

Definition at line 14893 of file json.hpp.

14894 {
14895 return (value <= static_cast<std::uint64_t>((std::numeric_limits<std::int32_t>::max)()))
14896 ? sizeof(std::int32_t)
14897 : sizeof(std::int64_t);
14898 }