| 35 | } |
| 36 | |
| 37 | void PackUserKey(const std::string& key, int64_t timestamp, UserKeyType type, |
| 38 | std::string* packed_key) { |
| 39 | packed_key->assign(key); |
| 40 | PutFixed64(packed_key, PackTimestampAndType(timestamp, type)); |
| 41 | } |
| 42 | |
| 43 | bool UnpackUserKey(const leveldb::Slice& packed_key, leveldb::Slice* short_key, int64_t* timestamp, |
| 44 | UserKeyType* type) { |
nothing calls this directly
no test coverage detected