Documentation ¶
Index ¶
- func ByteArrayToHexString(array []byte, n int) (hex string)
- func BytesToFloat(arr []byte, reverse bool) float64
- func BytesToInt(arr []byte, reverse bool) int64
- func CalculateDistance(loc1, loc2 *Location) float64
- func Contains(array interface{}, item interface{}) (bool, int)
- func CreateBytes(value byte, length, size int) []byte
- func CreateInts(value, length, size int) []int
- func FloatToBytes(dec float64, bytes byte, reverse bool) []byte
- func IntToBytes(dec uint64, bytes byte, reverse bool) []byte
- func IntsToBytes(ints ...int) []byte
- func Keys(a map[int]interface{}) []int
- func MapDiff(a, b map[interface{}]interface{}) map[interface{}]interface{}
- func ParseFloat(d string) float64
- func PvPFunc(val int) int
- func RandFloat(min, max float64) float64
- func RandFloats(min, max float64, count int) []float64
- func RandInt(min, max int64) int64
- func SearchUInt64(a []uint64, x uint64) int
- func SigmaFunc(x float64) float64
- func SliceDiff(a, b []int) []int
- type Location
- type Packet
- type SMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ByteArrayToHexString ¶
func BytesToFloat ¶
func BytesToInt ¶
func CalculateDistance ¶
func CreateBytes ¶
func CreateInts ¶
func IntsToBytes ¶
func ParseFloat ¶
func RandFloats ¶
func SearchUInt64 ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.