func (transaction *Transaction) Put(key, value []byte) error {
	var (
		cErr   *C.char
		cKey   = byteToChar(key)
		cValue = byteToChar(value)
	)
	C.rocksdb_transaction_put(
		transaction.c, cKey, C.size_t(len(key)), cValue, C.size_t(len(value)), &cErr,
	)
	if cErr != nil {
		defer C.free(unsafe.Pointer(cErr))
		return errors.New(C.GoString(cErr))
	}
	return nil
}
// Put writes data associated with a key to the transaction.
Put writes data associated with a key to the transaction.
// Put writes data associated with a key to the transaction .
func (transaction *Transaction) Put(key, value []byte) error {
	var (
		cErr   *C.char
		cKey   = byteToChar(key)
		cValue = byteToChar(value)
	)
	C.rocksdb_transaction_put(
		transaction.c, cKey, C.size_t(len(key)), cValue, C.size_t(len(value)), &cErr,
	)
	if cErr != nil {
		defer C.free(unsafe.Pointer(cErr))
		return errors.New(C.GoString(cErr))
	}
	return nil
}
func ( transaction * Transaction ) Put ( key , value [ ] byte ) error { var ( cErr * C . char cKey = byteToChar ( key ) cValue = byteToChar ( value ) ) C . rocksdb_transaction_put ( transaction . c , cKey , C . size_t ( len ( key ) ) , cValue , C . size_t ( len ( value ) ) , & cErr , ) if cErr != nil { defer C . free ( unsafe . Pointer ( cErr ) ) return errors . New ( C . GoString ( cErr ) ) } return nil }
Put writes data associated with a key to the transaction.
Put writes data associated with a key to the transaction .