boost::redis::resp3::flat_tree::data_size :: Boost.Redis

# boost::redis::resp3::flat_tree::data_size

Returns the size of the data buffer, in bytes.

## Synopsis

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

    std::size_t
    data_size() const noexcept;

## Description

You may use this function to calculate how much capacity should be reserved for data when calling `reserve`.

## Exception safety

No‐throw guarantee.

## Return Value

The number of bytes in use in the data buffer.

Created with MrDocs