utils

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: May 27, 2021 License: MIT Imports: 3 Imported by: 23

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ByteSliceGet

func ByteSliceGet(length int) (data []byte)

func ByteSlicePut

func ByteSlicePut(data []byte)

func ByteSliceToString

func ByteSliceToString(b []byte) string

func BytesBufferGet

func BytesBufferGet() (data *bytes.Buffer)

func BytesBufferPut

func BytesBufferPut(data *bytes.Buffer)

func Float64ToUint64

func Float64ToUint64(val float64) uint64

func Int64ToUint64

func Int64ToUint64(val int64) uint64

func StringToByteSlice

func StringToByteSlice(s string) []byte

func Uint64ToFloat64

func Uint64ToFloat64(val uint64) float64

func Uint64ToInt64

func Uint64ToInt64(val uint64) int64

Types

This section is empty.

Jump to

Keyboard shortcuts

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