Don't copy data unnecessarily.
Don't copy data unnecessarily.

The part from b->buf+b->pos to b->buf+b->len is the valid data in
b->buf, so no need to copy b->buf to b->buf+b->pos nor b->buf+b->len
to b->buf+b->size.  (0 <= b->pos <= b->len <= b->size).

zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb