int wrapBuffer(unsigned char *outBuf,unsigned char *inBuf,int len); typedef struct bufferT { int atbid; int len; uint8_t buf[8192]; } bufferT,*bufferP; int wrapMultiBuffers(uint8_t *outBuf,bufferP *buffers);