Documentation
¶
Index ¶
- func BoolToStr(value bool) string
- func ByteToStr(value byte) string
- func Bytes2Length(ret []byte) int64
- func Float32ToStr(value float32) string
- func Float64ToStr(value float64) string
- func Int16ToStr(value int16) string
- func Int32ToStr(value int32) string
- func Int64ToStr(value int64) string
- func Int8ToStr(value int8) string
- func IntToStr(value int) string
- func Length2Bytes(len int64, buffer []byte) []byte
- func StrToBool(value string) (bool, error)
- func StrToByte(value string) (byte, error)
- func StrToFloat32(value string) (float32, error)
- func StrToFloat64(value string) (float64, error)
- func StrToInt(value string) (int, error)
- func StrToInt16(value string) (int16, error)
- func StrToInt32(value string) (int32, error)
- func StrToInt64(value string) (int64, error)
- func StrToInt8(value string) (int8, error)
- func StrToUint(value string) (uint, error)
- func StrToUint16(value string) (uint16, error)
- func StrToUint32(value string) (uint32, error)
- func StrToUint64(value string) (uint64, error)
- func StrToUint8(value string) (uint8, error)
- func Uint16ToStr(value uint16) string
- func Uint32ToStr(value uint32) string
- func Uint64ToStr(value uint64) string
- func Uint8ToStr(value uint8) string
- func UintToStr(value uint) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bytes2Length ¶
Bytes2Length converts a byte array to an int64 value.
func Float32ToStr ¶
Float32ToStr converts float32 to string.
func Float64ToStr ¶
Float64ToStr converts float64 to string.
func Length2Bytes ¶
Length2Bytes converts an int64 value to a byte array.
func StrToFloat32 ¶
StrToFloat32 converts string to float32.
func StrToFloat64 ¶
StrToFloat64 converts string to float64.
func StrToUint16 ¶
StrToUint16 converts string to int16.
func StrToUint32 ¶
StrToUint32 converts string to uint32.
func StrToUint64 ¶
StrToUint64 converts string to uint64.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.