buffer_remaining_at
return buffer_remaining_at(buffer, buffer->_position);
return count <= buffer_remaining_at(buffer, at);