utils

package
v0.0.0-...-2bcc667 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ByteToRational64uString

func ByteToRational64uString(bytes []byte, isLow bool) string

func BytesToInt

func BytesToInt(bytes []byte, isLow bool) int

BytesToInt []byte to int

func FindByteIndex

func FindByteIndex(find []byte, from []byte) int

FindByteIndex e.g. 'a' in 'bab' index is 1

func IntToString

func IntToString(num int) string

IntToString int to string

func RemoveDuplicateStringValues

func RemoveDuplicateStringValues(source []string) []string

RemoveDuplicateStringValues ["aaa", "vvv", "aaa"] => ["aaa", "vvv"]

func Uint32ToInt

func Uint32ToInt(num uint32) int

Uint32ToInt uint32 to int

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL