(n string)
| 28 | ) |
| 29 | |
| 30 | func decToInt(n string) int { |
| 31 | d, err := strconv.ParseInt(n, 10, 64) |
| 32 | if err != nil { |
| 33 | log.Fatal("Error while parsing %s to int: %s", n, err) |
| 34 | } |
| 35 | return int(d) |
| 36 | } |
| 37 | |
| 38 | func hexToInt(h string) uint { |
| 39 | d, err := strconv.ParseUint(h, 16, 64) |
no outgoing calls
no test coverage detected