format

package
v0.0.0-...-a2ca615 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2019 License: Apache-2.0, Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesToUint16

func BytesToUint16(b []byte) (uint16, error)

BytesToUint16 bytes -> uint16

func BytesToUint32

func BytesToUint32(b []byte) (uint32, error)

BytesToUint32 bytes -> uint32

func BytesToUint64

func BytesToUint64(b []byte) (uint64, error)

BytesToUint64 bytes -> uint64

func MustBytesToUint16

func MustBytesToUint16(b []byte) uint16

MustBytesToUint16 bytes -> uint16

func MustBytesToUint32

func MustBytesToUint32(b []byte) uint32

MustBytesToUint32 bytes -> uint16

func MustBytesToUint64

func MustBytesToUint64(b []byte) uint64

MustBytesToUint64 bytes -> uint16

func MustParseStrFloat64

func MustParseStrFloat64(data string) float64

MustParseStrFloat64 str -> float64

func MustParseStrInt

func MustParseStrInt(data string) int

MustParseStrInt str -> int

func MustParseStrInt64

func MustParseStrInt64(data string) int64

MustParseStrInt64 str -> int64

func MustParseStrUInt64

func MustParseStrUInt64(data string) uint64

MustParseStrUInt64 str -> uint64

func ParseStrFloat64

func ParseStrFloat64(data string) (float64, error)

ParseStrFloat64 str -> float64

func ParseStrInt

func ParseStrInt(data string) (int, error)

ParseStrInt str -> int

func ParseStrInt64

func ParseStrInt64(data string) (int64, error)

ParseStrInt64 str -> int64

func ParseStrInt64Slice

func ParseStrInt64Slice(data []string) ([]int64, error)

ParseStrInt64Slice parse []string -> []int64

func ParseStrIntSlice

func ParseStrIntSlice(data []string) ([]int, error)

ParseStrIntSlice parse []string -> []int

func ParseStrUInt64

func ParseStrUInt64(data string) (uint64, error)

ParseStrUInt64 str -> uint64

func ParseStrUInt64Slice

func ParseStrUInt64Slice(data []string) ([]uint64, error)

ParseStrUInt64Slice parse []string -> []uint64

func Uint16ToBytes

func Uint16ToBytes(v uint16) []byte

Uint16ToBytes uint16 -> bytes

func Uint32ToBytes

func Uint32ToBytes(v uint32) []byte

Uint32ToBytes uint32 -> bytes

func Uint64ToBytes

func Uint64ToBytes(v uint64) []byte

Uint64ToBytes uint64 -> bytes

Types

This section is empty.

Jump to

Keyboard shortcuts

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