func (m *memDbBuffer) Set(k Key, v []byte) error {
	if len(v) == 0 {
		return errors.Trace(ErrCannotSetNilValue)
	}
	err := m.db.Put(k, v)
	return errors.Trace(err)
}
// Set associates key with value.
Set associates key with value.
// Set associates key with value .
func (m *memDbBuffer) Set(k Key, v []byte) error {
	if len(v) == 0 {
		return errors.Trace(ErrCannotSetNilValue)
	}
	err := m.db.Put(k, v)
	return errors.Trace(err)
}
func ( m * memDbBuffer ) Set ( k Key , v [ ] byte ) error { if len ( v ) == 0 { return errors . Trace ( ErrCannotSetNilValue ) } err := m . db . Put ( k , v ) return errors . Trace ( err ) }
Set associates key with value.
Set associates key with value .