44 #ifndef Included_RexxBuffer
45 #define Included_RexxBuffer
57 inline void copyData(
size_t offset,
const char *
string,
size_t l) { memcpy(this->
getData() + offset,
string, l); }
60 inline void openGap(
size_t offset,
size_t _size,
size_t tailSize)
64 inline void closeGap(
size_t offset,
size_t _size,
size_t tailSize)
69 inline void adjustGap(
size_t offset,
size_t _size,
size_t _newSize)
75 size_t offset_from = offset + _size;
78 size_t offset_to = offset + _newSize;
83 inline void setData(
size_t offset,
char character,
size_t l)
85 memset(
getData() + offset, character, l);
104 void *
operator new(size_t, size_t);
105 inline void *
operator new(
size_t size,
void *ptr) {
return ptr;};
106 inline void operator delete(
void *) { ; }
107 inline void operator delete(
void *, size_t) { ; }
108 inline void operator delete(
void *,
void *) { ; }
RexxBuffer * new_buffer(size_t s)
void setData(size_t offset, char character, size_t l)
void closeGap(size_t offset, size_t _size, size_t tailSize)
void openGap(size_t offset, size_t _size, size_t tailSize)
void copyData(CONSTRXSTRING &r)
void setDataLength(size_t l)
virtual char * getData()=0
void copyData(size_t offset, const char *string, size_t l)
void copyData(RXSTRING &r)
void adjustGap(size_t offset, size_t _size, size_t _newSize)
static void createInstance()
RexxBuffer * expand(size_t)
RexxObject * newRexx(RexxObject **args, size_t argc, size_t named_argc)
RexxBuffer(RESTORETYPE restoreType)
static RexxClass * classInstance