DecodeIntHandleInIndexValue uses to decode index value as int handle id.
(data []byte)
| 1098 | |
| 1099 | // DecodeIntHandleInIndexValue uses to decode index value as int handle id. |
| 1100 | func DecodeIntHandleInIndexValue(data []byte) kv.Handle { |
| 1101 | return kv.IntHandle(binary.BigEndian.Uint64(data)) |
| 1102 | } |
| 1103 | |
| 1104 | // EncodeTableIndexPrefix encodes index prefix with tableID and idxID. |
| 1105 | func EncodeTableIndexPrefix(tableID, idxID int64) kv.Key { |
no test coverage detected