Documentation
      ¶
    
    
  
    
  
    Index ¶
- func Bytes2ToInt16(b []byte) int16
 - func Bytes2ToUInt16(b []byte) uint16
 - func Bytes4ToFloat32(bytes []byte) float32
 - func Bytes4ToInt32(b []byte) int32
 - func Bytes4ToUInt32(b []byte) uint32
 - func Bytes8ToFloat64(bytes []byte) float64
 - func Float32Bytes4(float float32) []byte
 - func Float64ToBytes8(float float64) []byte
 - func HexStr2int(hexStr string) (int, error)
 - func Int2HexStr(num int) (hex string)
 - func ToStr(value interface{}, args ...int) (s string)
 - type StrTo
 - func (f StrTo) Exist() bool
 - func (f StrTo) Float64() (float64, error)
 - func (f StrTo) Int() (int, error)
 - func (f StrTo) Int64() (int64, error)
 - func (f StrTo) MustFloat64() float64
 - func (f StrTo) MustInt() int
 - func (f StrTo) MustInt64() int64
 - func (f StrTo) MustUint8() uint8
 - func (f StrTo) String() string
 - func (f StrTo) Uint8() (uint8, error)
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bytes2ToInt16 ¶
func Bytes2ToUInt16 ¶
func Bytes4ToInt32 ¶
func Bytes4ToUInt32 ¶
func Float64ToBytes8 ¶
func HexStr2int ¶
HexStr2int converts hex format string to decimal number.
func Int2HexStr ¶
Int2HexStr converts decimal number to hex format string.
Types ¶
 Click to show internal directories. 
   Click to hide internal directories.