32 #define helpTextSmallBytes "TODO smallBytes help brief, class description methods, examples" 35 #define cBy(self) ( (smallBytest*) self ) 192 #define SMALLBYTESFUNCTIONST \ 193 helpSmallBytesFt help;\ 194 getSmallBytesFt get;\ 195 setSmallBytesFt set;\ 196 pushSmallBytesFt push;\ 197 pushBufferSmallBytesFt pushBuffer;\ 198 getAtSmallBytesFt getAt;\ 200 lenSmallBytesFt len;\ 201 isEmptySmallBytesFt isEmpty;\ 202 readFileSmallBytesFt readFile;\ 203 readFileSmallJsonSmallBytesFt readFileSmallJson;\ 204 readFileSmallStringSmallBytesFt readFileSmallString;\ 205 readStreamSmallBytesFt readStream;\ 206 writeFileSmallBytesFt writeFile;\ 207 writeFileSmallJsonSmallBytesFt writeFileSmallJson;\ 208 writeFileSmallStringSmallBytesFt writeFileSmallString;\ 209 writeStreamSmallBytesFt writeStream;\ 210 appendFileSmallBytesFt appendFile;\ 211 appendFileSmallStringSmallBytesFt appendFileSmallString;\ 212 equalSmallBytesFt equal;\ 213 equalSmallBytesBoolFt equalBool;\ 214 equalSmallBytesDoubleFt equalDouble;\ 215 equalSmallBytesInt64Ft equalInt64;\ 216 equalSmallBytesInt32Ft equalInt32;\ 217 equalSmallBytesUint32Ft equalUint32;\ 218 equalSmallBytesUint64Ft equalUint64;\ 219 equalSmallBytesSmallBoolFt equalSmallBool;\ 220 equalSmallBytesSmallDoubleFt equalSmallDouble;\ 221 equalSmallBytesSmallIntFt equalSmallInt;\ 222 equalSmallBytesCharFt equalS;\ 223 equalSmallBytesSmallStringFt equalSmallString;\ 224 equalSmallBytesBaseFt equalBase 249 #define createSmallBytes(obj) ;smallBytest obj; initiateSmallBytes(&obj) 250 #define createAllocateSmallBytes(obj) ;smallBytest *obj; initiateAllocateSmallBytes(&obj) 277 #define cleanSmallBytesP(name) smallBytest *name CLEANUP(cleanUpSmallBytesTerminateG) 282 #define cleanAllocateSmallBytes(obj) ;cleanSmallBytesP(obj); initiateAllocateSmallBytes(&obj) 287 #define cleanSmallBytes(name) smallBytest name CLEANUP(cleanUpSmallBytesFreeLocalG); initiateSmallBytes(&name) 292 #define cleanFreeSmallBytes(name) smallBytest *name CLEANUP(cleanUpSmallBytesFreeG) 297 #define cleanFinishSmallBytesP(name) smallBytest *name CLEANUP(cleanUpSmallBytesFinishG) int writeFileSmallBytesG(smallBytest *self, const char *filePath)
int(* appendFileSmallBytesFt)(smallBytest *self, const char *filePath)
append self to filePath
int(* writeFileSmallStringSmallBytesFt)(smallBytest *self, smallStringt *filePath)
void finalizeSmallBytes(void)
size_t(* lenSmallBytesFt)(smallBytest *self)
return buffer size in bytes
bool(* equalSmallBytesSmallBoolFt)(smallBytest *self, smallBoolt *value)
size_t lenSmallBytesG(smallBytest *self)
void freeSmallBytesG(smallBytest *self)
char getAtSmallBytesG(smallBytest *self, char retType UNUSED, int64_t index)
void cleanUpSmallBytesFreeLocalG(smallBytest *val)
smallBytest * duplicateSmallBytesG(smallBytest *self)
void cleanUpSmallBytesTerminateG(smallBytest **val)
bool equalSmallBytesSmallIntG(smallBytest *self, smallIntt *value)
bool equalSmallBytesG(smallBytest *self, smallBytest *value)
bool(* equalSmallBytesUint32Ft)(smallBytest *self, uint32_t value)
bool equalSmallBytesDoubleG(smallBytest *self, double value)
bool(* equalSmallBytesSmallIntFt)(smallBytest *self, smallIntt *value)
int writeFileSmallJsonSmallBytesG(smallBytest *self, smallJsont *filePath)
bool equalSmallBytesUint64G(smallBytest *self, uint64_t value)
int(* writeFileSmallBytesFt)(smallBytest *self, const char *filePath)
write self to file
int writeFileSmallStringSmallBytesG(smallBytest *self, smallStringt *filePath)
bool isEmptySmallBytesG(smallBytest *self)
bool equalSmallBytesCharG(smallBytest *self, const char *value)
bool equalSmallBytesUint32G(smallBytest *self, uint32_t value)
bool(* equalSmallBytesFt)(smallBytest *self, smallBytest *value)
equal compare self to value
int writeStreamSmallBytesG(smallBytest *self, FILE *fp)
bool(* equalSmallBytesUint64Ft)(smallBytest *self, uint64_t value)
smallBytest * readFileSmallStringSmallBytesG(smallBytest *self, smallStringt *filePath)
bool equalSmallBytesInt32G(smallBytest *self, int32_t value)
bool equalSmallBytesInt64G(smallBytest *self, int64_t value)
bool equalSmallBytesBaseG(smallBytest *self, baset *value)
void cleanUpSmallBytesFreeG(smallBytest **val)
void cleanUpSmallBytesFinishG(smallBytest **val)
duplicateSmallBytesFt duplicate
bool equalSmallBytesSmallBoolG(smallBytest *self, smallBoolt *value)
bool(* equalSmallBytesSmallStringFt)(smallBytest *self, smallStringt *value)
bool equalSmallBytesBoolG(smallBytest *self, bool value)
smallBytest * readFileSmallJsonSmallBytesG(smallBytest *self, smallJsont *filePath)
int appendFileSmallStringSmallBytesG(smallBytest *self, smallStringt *filePath)
void initiateSmallBytes(smallBytest *self)
finishSmallBytesFt finish
void initiateAllocateSmallBytes(smallBytest **self)
bool(* equalSmallBytesInt32Ft)(smallBytest *self, int32_t value)
char *(* toStringSmallBytesFt)(smallBytest *self)
smallBytest * readStreamSmallBytesG(smallBytest *self, FILE *fp)
void registerMethodsSmallBytes(smallBytesFunctionst *f)
smallBytest * pushSmallBytesG(smallBytest *self, char data)
int(* writeFileSmallJsonSmallBytesFt)(smallBytest *self, smallJsont *filePath)
smallBytest *(* duplicateSmallBytesFt)(smallBytest *self)
bool equalSmallBytesSmallDoubleG(smallBytest *self, smallDoublet *value)
toStringSmallBytesFt toString
bool(* equalSmallBytesDoubleFt)(smallBytest *self, double value)
bool equalSmallBytesSmallStringG(smallBytest *self, smallStringt *value)
bool(* equalSmallBytesCharFt)(smallBytest *self, const char *value)
smallBytest * allocSmallBytes(void *data, uint32_t size)
bool(* isEmptySmallBytesFt)(smallBytest *self)
int appendFileSmallBytesG(smallBytest *self, const char *filePath)
terminateSmallBytesFt terminate
smallBytest * setSmallBytesG(smallBytest *self, void *data, uint32_t size)
char(* getAtSmallBytesFt)(smallBytest *self, int64_t index)
get char at index
void(* freeSmallBytesFt)(smallBytest *self)
smallBytest * readFileSmallBytesG(smallBytest *self, const char *filePath)
bool(* equalSmallBytesSmallDoubleFt)(smallBytest *self, smallDoublet *value)
bool(* equalSmallBytesBoolFt)(smallBytest *self, bool value)
int(* appendFileSmallStringSmallBytesFt)(smallBytest *self, smallStringt *filePath)
void(* terminateSmallBytesFt)(smallBytest **self)
bool(* equalSmallBytesBaseFt)(smallBytest *self, baset *value)
void finalizeRecycleSmallBytes(void *arg UNUSED)
bool(* equalSmallBytesInt64Ft)(smallBytest *self, int64_t value)
void(* finishSmallBytesFt)(smallBytest **self)
free container
int(* writeStreamSmallBytesFt)(smallBytest *self, FILE *fp)