utils

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2020 License: MIT Imports: 3 Imported by: 0

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