Apache Log4cxx  Version 1.2.0
Loading...
Searching...
No Matches
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 ( )

◆ current() [2/2]

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

◆ data() [1/2]

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

◆ data() [2/2]

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

◆ flip()

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

◆ limit() [1/2]

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

◆ limit() [2/2]

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

◆ position() [1/2]

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

◆ 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

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