| 40 | const KeyRangeRef annotationKeys = KeyRangeRef("annotation/"_sr, "annotation0"_sr); |
| 41 | |
| 42 | Key versionedAnnotationKey(Version version) { |
| 43 | ASSERT_GE(version, 0); |
| 44 | return BinaryWriter::toValue(bigEndian64(version), IncludeVersion()).withPrefix(annotationKeys.begin); |
| 45 | } |
| 46 | |
| 47 | Version getVersionFromVersionedAnnotationKey(KeyRef versionedAnnotationKey) { |
| 48 | return fromBigEndian64(BinaryReader::fromStringRef<uint64_t>( |
no test coverage detected