code: func ipToUint64(ip []byte) (value uint64) {
  	cip := types.GetMinimalIP(ip)
  	for i := 0; i < len(cip); i++ {
  		j := len(cip) - 1 - i
  		value += uint64(cip[i]) << uint(j*8)
  	}
  	return value
  }
docs: // Convert an ordinal to the respective IP address