Documentation ¶
Index ¶
- func Byte4ToFloat(in []byte) float32
- func Byte4ToInt(in []byte) int
- func Byte4toBitField(in []byte) string
- func Byte8ToFloat(in []byte) float64
- func Byte8ToInt64(in []byte) int64
- func BytesToString(in []byte) string
- func CreateGenericMap[K int | float32 | string | []int | []float32 | []string](toConvert map[int]K) map[int]interface{}
- func GetDistinct[K comparable](slice []K) []K
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Byte4ToFloat ¶
Byte4ToFloat will convert the little endian 4 byte value into an float
func Byte4ToInt ¶
Byte4ToInt will convert the little endian 4 byte value into an int
func Byte4toBitField ¶
Byte4toBitField will convert the little endian 8 byte value into a bitfield string value
func Byte8ToFloat ¶
Byte8ToFloat will convert the little endian 8 byte value into an float
func Byte8ToInt64 ¶
Byte8ToInt will convert the little endian 8 byte value into an int
func BytesToString ¶
BytesToString will convert the given bytes to string and remove any additional padding bytes
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.