Returns the encoded key value comprised of the end key and destination path
| 1114 | |
| 1115 | // Returns the encoded key value comprised of the end key and destination path |
| 1116 | Key logRangesEncodeValue(KeyRef keyEnd, KeyRef destPath) { |
| 1117 | BinaryWriter wr(IncludeVersion(ProtocolVersion::withLogRangeEncodeValue())); |
| 1118 | wr << std::make_pair(keyEnd, destPath); |
| 1119 | return wr.toValue(); |
| 1120 | } |
| 1121 | |
| 1122 | // \xff/logRanges/[16-byte UID][begin key] := serialize( make_pair([end key], [destination key prefix]), |
| 1123 | // IncludeVersion() ) |
no test coverage detected