// read bytes + newly taken bytes <= buffer max size
memcpy(target, rb->rb_ptr + rb->rb_rt, size);
rb->rb_rt = rb->rb_rt + size;
// read bytes + newly taken bytes <= buffer max size
memcpy(target, rb->rb_ptr + rb->rb_rt, size);
rb->rb_rt = rb->rb_rt + size;