Boost.Redis

    • Introduction
    • Requests and responses
    • Cancellation and timeouts
    • Serializing and parsing into custom types
    • Authentication
    • Logging
    • Sentinel
    • Echo server benchmark
    • Comparison with other Redis clients
    • Examples
    • Reference
    • Acknowledgements
    • Changelog
  • boost::redis::resp3::flat_tree::data_capacity
arrow_upward

boost::redis::resp3::flat_tree::data_capacity

Returns the capacity of the data buffer, in bytes.

Synopsis

Declared in <boost/redis/resp3/flat_tree.hpp>

std::size_t
data_capacity() const noexcept;

Description

Note that the actual capacity of the data buffer may be bigger than the one requested by reserve.

Exception safety

No‐throw guarantee.

Return Value

The capacity of the data buffer, in bytes.

Created with MrDocs