1 #ifndef _KVI_DATABUFFER_H_
2 #define _KVI_DATABUFFER_H_
45 int size()
const {
return m_uSize; };
46 unsigned char *
data()
const {
return m_pData; };
49 void remove(
int uSize);
56 void resize(
int uSize);
57 void addSize(
int uSize) { resize(m_uSize + uSize); };
58 void append(
const unsigned char * data,
int uSize);
60 int find(
unsigned char c);
61 int find(
const unsigned char * block,
int uSize);
64 #endif //_KVI_DATABUFFER_H_
Definition: KviHeapObject.h:124
char s char s char s s s s s char char c s *s c s s s d c s *s d c d d d d c
Definition: KviIrcNumericCodes.h:391
Definition: KviDataBuffer.h:30
unsigned char * m_pData
Definition: KviDataBuffer.h:42
void append(const KviDataBuffer &b)
Definition: KviDataBuffer.h:59
int m_uSize
Definition: KviDataBuffer.h:41
unsigned char * data() const
Definition: KviDataBuffer.h:46
void clear()
Definition: KviDataBuffer.h:50
This file contains compile time settings.
#define KVILIB_API
Definition: kvi_settings.h:125
int size() const
Definition: KviDataBuffer.h:45
void addSize(int uSize)
Definition: KviDataBuffer.h:57