- Main Page
- Modules
- Namespaces
- Classes
- Files

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# ByteBuffer Class Reference

List of all members.

## Detailed Description

A byte buffer.

## 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)

## Constructor & Destructor Documentation

ByteBuffer | ( | char * | data,
|  | size_t | capacity
| ) |

~ByteBuffer | ( |  | ) |

## Member Function Documentation

void clear | ( |  | ) |

const char* current | ( |  | ) | const`[inline]`

char* current | ( |  | ) | `[inline]`

const char* data | ( |  | ) | const`[inline]`

char* data | ( |  | ) | `[inline]`

void flip | ( |  | ) |

void limit | ( | size_t | newLimit | ) |

size_t limit | ( |  | ) | const`[inline]`

void position | ( | size_t | newPosition | ) |

size_t position | ( |  | ) | const`[inline]`

bool put | ( | char | byte | ) |

size_t remaining | ( |  | ) | const`[inline]`

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

- bytebuffer.h