(str, separator string)
| 49 | } |
| 50 | |
| 51 | func splitIntIntStr(str, separator string) (int, int) { |
| 52 | strList := strings.Split(str, separator) |
| 53 | firstItem, _ := strconv2.StrToInt(strList[0]) |
| 54 | secondItem, _ := strconv2.StrToInt(strList[1]) |
| 55 | return firstItem, secondItem |
| 56 | } |
| 57 | |
| 58 | func decodeListKey(buf []byte) ([]byte, uint64) { |
| 59 | seq := binary.LittleEndian.Uint64(buf[:8]) |
no outgoing calls
no test coverage detected