TerraForge3D
2.3.1
3D Terrain And Landscape Generator
◆
calc_bson_integer_size()
template<typename BasicJsonType , typename CharType >
static std::size_t
nlohmann::detail::binary_writer
< BasicJsonType, CharType >::calc_bson_integer_size
(
const std::int64_t
value
)
inline
static
private
Returns
The size of the BSON-encoded integer
value
Definition at line
14864
of file
json.hpp
.
14865
{
14866
return
(std::numeric_limits<std::int32_t>::min)() <= value && value <= (std::numeric_limits<std::int32_t>::max)()
14867
?
sizeof
(std::int32_t)
14868
:
sizeof
(std::int64_t);
14869
}
nlohmann
detail
binary_writer
Generated on Thu Apr 7 2022 14:11:00 for TerraForge3D by
1.9.3