小组成员: 曹可心-10223903406 朴祉燕-10224602413
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

19 lines
499 B

#ifndef STORAGE_LEVELDB_DB_VLOG_CONVERTER_H_
#define STORAGE_LEVELDB_DB_VLOG_CONVERTER_H_
#include <cstdint>
#include "leveldb/slice.h"
#include "leveldb/status.h"
namespace leveldb{
namespace vlog{
class VlogConverter{
public:
VlogConverter() = default;
~VlogConverter() = default;
Slice GetVptr(uint64_t file_no, uint64_t file_offset, char* buf);
Status DecodeVptr(uint64_t* file_no, uint64_t* file_offset, Slice* vptr);
};
}// namespace vlog
}
#endif