38 if (inBuf!=0 && inLen!=0)
45 bool assign(T* newBuf, uint_least32_t newLen)
53 T*
get(void)
const {
return buf; }
54 uint_least32_t len(
void)
const {
return bufLen; }
63 uint_least32_t xferLen(
void)
65 uint_least32_t tmpBufLen = bufLen;
70 T& operator[](uint_least32_t index)
78 bool isEmpty(
void)
const {
return (buf==0); }
82 if (buf!=0 && bufLen!=0)
84 #ifndef SID_HAVE_BAD_COMPILER
87 delete[] (
void *) buf;
100 uint_least32_t bufLen;