Documentation
¶
Index ¶
- func Bytes2Bool(data []byte) bool
- func Bytes2Float64(data []byte) float64
- func Bytes2Int16(data []byte) int16
- func Bytes2Int32(data []byte) int32
- func Bytes2Int64(data []byte) int64
- func Bytes2Int8(data []byte) int8
- func Bytes2String(data []byte) string
- func Bytes2Uint16(data []byte) uint16
- func Bytes2Uint32(data []byte) uint32
- func Bytes2Uint64(data []byte) uint64
- func Bytes2Uint8(data []byte) uint8
- func FileExists(fileName string) (exists bool, err error)
- func FileTime(fileName string) (createTime, lastAccessTime, lastWriteTime int64, err error)
- func LcFirst(str string) string
- func MkDir(dir string, perm os.FileMode) (err error)
- func String2Bytes(data string) []byte
- func UcFirst(str string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bytes2Uint16 ¶ added in v2.0.9
Bytes2Uint16 字节切片转换为uint16
func FileExists ¶ added in v2.0.9
FileExists 判断文件是否存在
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.