| 37 | const int8_t kIndexBitLength = 26; |
| 38 | |
| 39 | inline uint32_t encode(uint32_t index, uint32_t value) { |
| 40 | return index << kValueBitLength | value; |
| 41 | } |
| 42 | |
| 43 | inline uint32_t decodeIndex(uint32_t entry) { |
| 44 | return entry >> kValueBitLength; |
no outgoing calls