| 84 | } |
| 85 | |
| 86 | static bool GetInternalKey(Slice* input, InternalKey* dst) { |
| 87 | Slice str; |
| 88 | if (GetLengthPrefixedSlice(input, &str)) { |
| 89 | return dst->DecodeFrom(str); |
| 90 | } else { |
| 91 | return false; |
| 92 | } |
| 93 | } |
| 94 | |
| 95 | static bool GetLevel(Slice* input, int* level) { |
| 96 | uint32_t v; |
no test coverage detected