func (it *Iterator) Value() []byte {
	return it.val
}
Value returns value.
package memdb
import "unsafe"
type Iterator struct {
	db   *DB
	curr *node
	key  []byte
	val  []byte
}
func (db *DB) NewIterator() Iterator {
	return Iterator{
		db: db,
	}
}
func (it *Iterator) Valid() bool { return it.curr != nil }
func (it *Iterator) Key() []byte {
	return it.key
}