# IOBuffer.hpp

This File On Github
Ask A Question

API: latest
module: oatpp
#include "oatpp/core/data/buffer/IOBuffer.hpp"

# IOBuffer

Predefined buffer implementation for I/O operations. Allocates buffer bytes using oatpp::base::memory::ThreadDistributedMemoryPool.

namespace oatpp { namespace data { namespace buffer { 
  class IOBuffer : public oatpp::base::Countable {}

# Fields

Type Name Summary
const v_buff_size BUFFER_SIZE Buffer size constant.

# Methods

Return Type Name Summary
[none] IOBuffer Constructor.
std::shared_ptr<IOBuffer> createShared Create shared IOBuffer.
[none] ~IOBuffer Virtual destructor.
void* getData Get pointer to buffer data.
v_buff_size getSize Get buffer size.


Buffer size constant.

static const v_buff_size BUFFER_SIZE

# IOBuffer::IOBuffer



# IOBuffer::createShared

Create shared IOBuffer.

  • @return

static std::shared_ptr<IOBuffer> createShared()

# IOBuffer::~IOBuffer

Virtual destructor.


# IOBuffer::getData

Get pointer to buffer data.

  • @return

void* getData()

# IOBuffer::getSize

Get buffer size.

v_buff_size getSize()