revert to rocksdb raw pointer buf