ubit::UIObuf Struct Reference

UIObuf. More...

#include <usocket.hpp>

Inheritance diagram for ubit::UIObuf:

ubit::UInbuf ubit::UOutbuf ubit::UMSrequest List of all members.

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

Detailed Description

UIObuf.


Member Function Documentation

char * ubit::UIObuf::data (  ) 

returns the data in this IObuf (may be NOT null-terminated).

data() should NOT be freed (this is done automatically when the UIObuf is destroyed).


The documentation for this struct was generated from the following files:
Generated on Mon Jan 29 00:20:55 2007 for Ubit by  doxygen 1.4.7