func (d *DriverBuffer) Next() *ConnectionStats {
	// double size of buffer if necessary
	if d.off >= len(d.buf) {
		d.buf = append(d.buf, make([]ConnectionStats, len(d.buf))...)
	}
	c := &d.buf[d.off]
	d.off++
	return c
}
// Next returns the next `ConnectionStats` object available for writing.
// It will resize the internal buffer if necessary.
Next returns the next `ConnectionStats` object available for writing.
It will resize the internal buffer if necessary.
// Next returns the next ` ConnectionStats ` object available for writing . // It will resize the internal buffer if necessary .
func (d *DriverBuffer) Next() *ConnectionStats {
	if d.off >= len(d.buf) {
		d.buf = append(d.buf, make([]ConnectionStats, len(d.buf))...)
	}
	c := &d.buf[d.off]
	d.off++
	return c
}
func ( d * DriverBuffer ) Next ( ) * ConnectionStats { if d . off >= len ( d . buf ) { d . buf = append ( d . buf , make ( [ ] ConnectionStats , len ( d . buf ) ) ... ) } c := & d . buf [ d . off ] d . off ++ return c }
Next returns the next `ConnectionStats` object available for writing.
Next returns the next ` ConnectionStats ` object available for writing .
// double size of buffer if necessary