util

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2019 License: LGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesToBytes

func BytesToBytes(bt []byte) []byte

func BytesToBytesHelper

func BytesToBytesHelper(bt interface{}) []byte

func BytesToBytesHelperR

func BytesToBytesHelperR(bt []byte) interface{}

func BytesToInt32

func BytesToInt32(buf []byte) int32

func BytesToInt32Helper

func BytesToInt32Helper(buf []byte) interface{}

func BytesToInt64

func BytesToInt64(buf []byte) int64

func BytesToString

func BytesToString(bt []byte) string

func BytesToUint32

func BytesToUint32(buf []byte) uint32

func BytesToUint32Helper

func BytesToUint32Helper(buf []byte) interface{}

func BytesToUint64

func BytesToUint64(buf []byte) uint64

func ConcatBytes

func ConcatBytes(dat ...[]byte) []byte

func ErrorToString

func ErrorToString(err error) string

func Int32ToBytes

func Int32ToBytes(i int32) []byte

func Int32ToBytesHelper

func Int32ToBytesHelper(i interface{}) []byte

func Int64ToBytes

func Int64ToBytes(i int64) []byte

func StringToBytes

func StringToBytes(str string) []byte

func Uint32ToBytes

func Uint32ToBytes(i uint32) []byte

func Uint32ToBytesHelper

func Uint32ToBytesHelper(i interface{}) []byte

func Uint64ToBytes

func Uint64ToBytes(i uint64) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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