func (rs *RangeScanner) Values() (values [][]byte, err error) {
	err = rs.db.View(func(tx *bolt.Tx) error {
		c := tx.Bucket(rs.BucketName).Cursor()
		for k, v := c.Seek(rs.Min); isBefore(k, rs.Max); k, v = c.Next() {
			values = append(values, v)
		}
		return nil
	})
	if err != nil {
		return nil, err
	}
	return values, err
}
// Values returns a slice of values for keys within the range.
Values returns a slice of values for keys within the range.
// Values returns a slice of values for keys within the range .
func (rs *RangeScanner) Values() (values [][]byte, err error) {
	err = rs.db.View(func(tx *bolt.Tx) error {
		c := tx.Bucket(rs.BucketName).Cursor()
		for k, v := c.Seek(rs.Min); isBefore(k, rs.Max); k, v = c.Next() {
			values = append(values, v)
		}
		return nil
	})
	if err != nil {
		return nil, err
	}
	return values, err
}
func ( rs * RangeScanner ) Values ( ) ( values [ ] [ ] byte , err error ) { err = rs . db . View ( func ( tx * bolt . Tx ) error { c := tx . Bucket ( rs . BucketName ) . Cursor ( ) for k , v := c . Seek ( rs . Min ) ; isBefore ( k , rs . Max ) ; k , v = c . Next ( ) { values = append ( values , v ) } return nil } ) if err != nil { return nil , err } return values , err }
Values returns a slice of values for keys within the range.
Values returns a slice of values for keys within the range .