Apache log4cxx
Version 0.10.0
|
A byte buffer. More...
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) |
A byte buffer.
ByteBuffer | ( | char * | data, |
size_t | capacity | ||
) |
~ByteBuffer | ( | ) |
void clear | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
void flip | ( | ) |
|
inline |
void limit | ( | size_t | newLimit | ) |
|
inline |
void position | ( | size_t | newPosition | ) |
bool put | ( | char | byte | ) |
|
inline |