#include <usocket.hpp>
Inheritance diagram for ubit::UIObuf:
Public Member Functions | |
const char * | data () const |
char * | data () |
returns the data in this IObuf (may be NOT null-terminated). | |
unsigned int | size () const |
unsigned int | consumed () const |
bool | resize (unsigned short) |
bool | augment (unsigned short) |
Protected Types | |
DEFAULT_BUFSIZE = 512 | |
AUGMENT_QUANTUM = 2048 | |
enum | { DEFAULT_BUFSIZE = 512, AUGMENT_QUANTUM = 2048 } |
Protected Attributes | |
char * | buffer |
char | default_buffer [DEFAULT_BUFSIZE] |
unsigned int | inpos |
unsigned int | outpos |
unsigned int | bufsize |
Friends | |
class | USocket |
char * ubit::UIObuf::data | ( | ) |