XBUFFER_SIZE
static char buffer[XBUFFER_SIZE];
if (offset + nbytes > XBUFFER_SIZE)
mbytes = XBUFFER_SIZE - offset;