bytebuffer_position
int bytebuffer_position (bytebuffer *);
if (bytebuffer_position(_this->send_buf) <= 0)