dcrud
0.0.0
Distributed data and services
|
Go to the source code of this file.
Typedefs | |
typedef enum ioByteOrder_e | ioByteOrder |
Enumerations | |
enum | ioByteOrder_e { ioByteOrder_BIG_ENDIAN, ioByteOrder_LITTLE_ENDIAN } |
Functions | |
UTIL_ADT (ioByteBuffer) | |
ioByteBuffer | ioByteBuffer_wrap (unsigned int capacity, byte *array) |
ioByteBuffer | ioByteBuffer_new (unsigned int capacity) |
void | ioByteBuffer_delete (ioByteBuffer *This) |
ioByteBuffer | ioByteBuffer_copy (ioByteBuffer This, unsigned int length) |
byte * | ioByteBuffer_array (ioByteBuffer This) |
void | ioByteBuffer_clear (ioByteBuffer This) |
void | ioByteBuffer_mark (ioByteBuffer This) |
ioStatus | ioByteBuffer_reset (ioByteBuffer This) |
void | ioByteBuffer_flip (ioByteBuffer This) |
unsigned int | ioByteBuffer_getPosition (ioByteBuffer This) |
ioStatus | ioByteBuffer_setPosition (ioByteBuffer This, unsigned int position) |
unsigned int | ioByteBuffer_getLimit (ioByteBuffer This) |
unsigned int | ioByteBuffer_remaining (ioByteBuffer This) |
ioStatus | ioByteBuffer_put (ioByteBuffer This, const byte *src, unsigned int from, unsigned int to) |
ioStatus | ioByteBuffer_get (ioByteBuffer This, byte *target, unsigned int from, unsigned int to) |
ioStatus | ioByteBuffer_putByte (ioByteBuffer This, byte value) |
ioStatus | ioByteBuffer_getByte (ioByteBuffer This, byte *target) |
ioStatus | ioByteBuffer_putShort (ioByteBuffer This, unsigned short value) |
ioStatus | ioByteBuffer_getShort (ioByteBuffer This, unsigned short *target) |
ioStatus | ioByteBuffer_putInt (ioByteBuffer This, unsigned int value) |
ioStatus | ioByteBuffer_putIntAt (ioByteBuffer This, unsigned int value, unsigned int index) |
ioStatus | ioByteBuffer_getInt (ioByteBuffer This, unsigned int *target) |
ioStatus | ioByteBuffer_putLong (ioByteBuffer This, uint64_t value) |
ioStatus | ioByteBuffer_getLong (ioByteBuffer This, uint64_t *target) |
ioStatus | ioByteBuffer_putFloat (ioByteBuffer This, float value) |
ioStatus | ioByteBuffer_getFloat (ioByteBuffer This, float *target) |
ioStatus | ioByteBuffer_putDouble (ioByteBuffer This, double value) |
ioStatus | ioByteBuffer_getDouble (ioByteBuffer This, double *target) |
ioStatus | ioByteBuffer_putString (ioByteBuffer This, const char *src) |
ioStatus | ioByteBuffer_getString (ioByteBuffer This, char *target, unsigned int sizeOfTarget) |
ioStatus | ioByteBuffer_putBuffer (ioByteBuffer This, ioByteBuffer source) |
ioStatus | ioByteBuffer_send (ioByteBuffer This, SOCKET sckt, struct sockaddr_in *target) |
ioStatus | ioByteBuffer_receive (ioByteBuffer This, SOCKET sckt) |
ioStatus | ioByteBuffer_dump (ioByteBuffer This, FILE *target) |
typedef enum ioByteOrder_e ioByteOrder |
enum ioByteOrder_e |
Enumerator | |
---|---|
ioByteOrder_BIG_ENDIAN | |
ioByteOrder_LITTLE_ENDIAN |
Definition at line 12 of file ByteBuffer.h.
byte* ioByteBuffer_array | ( | ioByteBuffer | This | ) |
void ioByteBuffer_clear | ( | ioByteBuffer | This | ) |
ioByteBuffer ioByteBuffer_copy | ( | ioByteBuffer | This, |
unsigned int | length | ||
) |
void ioByteBuffer_delete | ( | ioByteBuffer * | This | ) |
ioStatus ioByteBuffer_dump | ( | ioByteBuffer | This, |
FILE * | target | ||
) |
void ioByteBuffer_flip | ( | ioByteBuffer | This | ) |
ioStatus ioByteBuffer_getDouble | ( | ioByteBuffer | This, |
double * | target | ||
) |
ioStatus ioByteBuffer_getFloat | ( | ioByteBuffer | This, |
float * | target | ||
) |
ioStatus ioByteBuffer_getInt | ( | ioByteBuffer | This, |
unsigned int * | target | ||
) |
unsigned int ioByteBuffer_getLimit | ( | ioByteBuffer | This | ) |
ioStatus ioByteBuffer_getLong | ( | ioByteBuffer | This, |
uint64_t * | target | ||
) |
unsigned int ioByteBuffer_getPosition | ( | ioByteBuffer | This | ) |
ioStatus ioByteBuffer_getShort | ( | ioByteBuffer | This, |
unsigned short * | target | ||
) |
ioStatus ioByteBuffer_getString | ( | ioByteBuffer | This, |
char * | target, | ||
unsigned int | sizeOfTarget | ||
) |
void ioByteBuffer_mark | ( | ioByteBuffer | This | ) |
ioByteBuffer ioByteBuffer_new | ( | unsigned int | capacity | ) |
ioStatus ioByteBuffer_put | ( | ioByteBuffer | This, |
const byte * | src, | ||
unsigned int | from, | ||
unsigned int | to | ||
) |
ioStatus ioByteBuffer_putBuffer | ( | ioByteBuffer | This, |
ioByteBuffer | source | ||
) |
ioStatus ioByteBuffer_putDouble | ( | ioByteBuffer | This, |
double | value | ||
) |
ioStatus ioByteBuffer_putFloat | ( | ioByteBuffer | This, |
float | value | ||
) |
ioStatus ioByteBuffer_putInt | ( | ioByteBuffer | This, |
unsigned int | value | ||
) |
ioStatus ioByteBuffer_putIntAt | ( | ioByteBuffer | This, |
unsigned int | value, | ||
unsigned int | index | ||
) |
ioStatus ioByteBuffer_putLong | ( | ioByteBuffer | This, |
uint64_t | value | ||
) |
ioStatus ioByteBuffer_putShort | ( | ioByteBuffer | This, |
unsigned short | value | ||
) |
ioStatus ioByteBuffer_putString | ( | ioByteBuffer | This, |
const char * | src | ||
) |
ioStatus ioByteBuffer_receive | ( | ioByteBuffer | This, |
SOCKET | sckt | ||
) |
unsigned int ioByteBuffer_remaining | ( | ioByteBuffer | This | ) |
ioStatus ioByteBuffer_reset | ( | ioByteBuffer | This | ) |
ioStatus ioByteBuffer_send | ( | ioByteBuffer | This, |
SOCKET | sckt, | ||
struct sockaddr_in * | target | ||
) |
ioStatus ioByteBuffer_setPosition | ( | ioByteBuffer | This, |
unsigned int | position | ||
) |
ioByteBuffer ioByteBuffer_wrap | ( | unsigned int | capacity, |
byte * | array | ||
) |
UTIL_ADT | ( | ioByteBuffer | ) |