convert

package
v0.0.0-...-66fcd57 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BinaryToDecimal

func BinaryToDecimal(bit string) (num int)

func BytesToString

func BytesToString(b []byte) string

func Float32ToString

func Float32ToString(floatNum float32, prec ...int) (floatStr string)

func Float64ToString

func Float64ToString(floatNum float64, prec ...int) (floatStr string)

func Int2String

func Int2String(intNum int) (intStr string)

func Int642String

func Int642String(intNum int64) (int64Str string)

func String2Float32

func String2Float32(floatStr string) (floatNum float32)

func String2Float64

func String2Float64(floatStr string) (floatNum float64)

func String2Int

func String2Int(intStr string) (intNum int)

func String2Int64

func String2Int64(intStr string) (int64Num int64)

func StringToBytes

func StringToBytes(s string) (b []byte)

Types

This section is empty.

Jump to

Keyboard shortcuts

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