![]() |
My Project
|
#include <bytebuf.h>
Public Member Functions | |
ByteBuf () | |
ByteBuf (const ByteBuf &other) | |
ByteBuf & | operator= (const ByteBuf &other) |
~ByteBuf () | |
size_t | size () |
void | write_bytes (char *p, size_t n) |
void | read_bytes (char *p, size_t n) |
template<typename T > | |
void | write (T &value) |
template<typename T > | |
void | read (T &value) |
void | seek (size_t p) |
Private Attributes | |
size_t | count |
size_t | cap |
size_t | pos |
char * | buf |
|
inline |
|
inline |