(text string)
| 34 | } |
| 35 | |
| 36 | func StrToNum64(text string) uint64 { |
| 37 | value, err := strconv.ParseUint(text, 0, 64) |
| 38 | if err != nil { |
| 39 | panic(err) |
| 40 | } |
| 41 | return value |
| 42 | } |
| 43 | |
| 44 | func IntToBytes(n int) []byte { |
| 45 | x := uint32(n) |
no outgoing calls
no test coverage detected