Documentation ¶
Index ¶
- func FromFloat32(value float32) string
- func FromFloat64(value float64) string
- func FromInt(value int) string
- func FromInt16(value int16) string
- func FromInt32(value int32) string
- func FromInt64(value int64) string
- func FromInt8(value int8) string
- func FromUint(value uint) string
- func FromUint16(value uint16) string
- func FromUint32(value uint32) string
- func FromUint64(value uint64) string
- func FromUint8(value uint8) string
- func ToFloat32(value string) float32
- func ToFloat64(value string) float64
- func ToInt(value string) int
- func ToInt16(value string) int16
- func ToInt32(value string) int32
- func ToInt64(value string) int64
- func ToInt8(value string) int8
- func ToUint(value string) uint
- func ToUint16(value string) uint16
- func ToUint32(value string) uint32
- func ToUint64(value string) uint64
- func ToUint8(value string) uint8
- type Binaries
- type Binary
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromFloat32 ¶ added in v0.0.13
func FromFloat64 ¶ added in v0.0.13
func FromUint16 ¶ added in v0.0.13
func FromUint32 ¶ added in v0.0.13
func FromUint64 ¶ added in v0.0.13
Types ¶
type Binary ¶
type Binary struct {
// contains filtered or unexported fields
}
Binary 定义二进制值
func NewFromRawBinary ¶
NewFromRawBinary 通过原始二进制值转换 010010110101
func NewFromRawHex ¶
NewFromRawHex 通过指定的原始hex值转换 ff
Click to show internal directories.
Click to hide internal directories.