| 432 | return wr.toValue(); |
| 433 | } |
| 434 | const Key serverKeysPrefixFor(UID serverID) { |
| 435 | BinaryWriter wr(Unversioned()); |
| 436 | wr.serializeBytes(serverKeysPrefix); |
| 437 | wr << serverID; |
| 438 | wr.serializeBytes(LiteralStringRef("/")); |
| 439 | return wr.toValue(); |
| 440 | } |
| 441 | UID serverKeysDecodeServer(const KeyRef& key) { |
| 442 | UID server_id; |
| 443 | BinaryReader rd(key.removePrefix(serverKeysPrefix), Unversioned()); |
no test coverage detected