func Coords2Bytes()

in binary/util.go [85:90]


func Coords2Bytes(lon float64, lat float64) []byte {
	lonInt := Deg2Int(lon)
	latInt := Deg2Int(lat)

	return append(Int2Bytes(lonInt, 3, true), Int2Bytes(latInt, 3, true)...)
}