Apache log4cxx  Version 0.13.0
log4cxx::helpers::ByteBuffer Class Reference

A byte buffer. More...

#include <bytebuffer.h>

Public Member Functions

 ByteBuffer (char *data, size_t capacity)
 
 ~ByteBuffer ()
 
void clear ()
 
void flip ()
 
char * data ()
 
const char * data () const
 
char * current ()
 
const char * current () const
 
size_t limit () const
 
void limit (size_t newLimit)
 
size_t position () const
 
size_t remaining () const
 
void position (size_t newPosition)
 
bool put (char byte)
 

Detailed Description

A byte buffer.

Constructor & Destructor Documentation

◆ ByteBuffer()

log4cxx::helpers::ByteBuffer::ByteBuffer ( char *  data,
size_t  capacity 
)

◆ ~ByteBuffer()

log4cxx::helpers::ByteBuffer::~ByteBuffer ( )

Member Function Documentation

◆ clear()

void log4cxx::helpers::ByteBuffer::clear ( )

◆ current() [1/2]

char* log4cxx::helpers::ByteBuffer::current ( )
inline

◆ current() [2/2]

const char* log4cxx::helpers::ByteBuffer::current ( ) const
inline

◆ data() [1/2]

char* log4cxx::helpers::ByteBuffer::data ( )
inline

◆ data() [2/2]

const char* log4cxx::helpers::ByteBuffer::data ( ) const
inline

◆ flip()

void log4cxx::helpers::ByteBuffer::flip ( )

◆ limit() [1/2]

size_t log4cxx::helpers::ByteBuffer::limit ( ) const
inline

◆ limit() [2/2]

void log4cxx::helpers::ByteBuffer::limit ( size_t  newLimit)

◆ position() [1/2]

size_t log4cxx::helpers::ByteBuffer::position ( ) const
inline

◆ position() [2/2]

void log4cxx::helpers::ByteBuffer::position ( size_t  newPosition)

◆ put()

bool log4cxx::helpers::ByteBuffer::put ( char  byte)

◆ remaining()

size_t log4cxx::helpers::ByteBuffer::remaining ( ) const
inline

The documentation for this class was generated from the following file: