utils

package
v0.0.0-...-09d2262 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesToInt

func BytesToInt(byt []byte) int

BytesToInt convert bytes to int

func BytesToUint32

func BytesToUint32(byt []byte) uint32

BytesToUint32 convert bytes to uint32

func DeleteZero

func DeleteZero(src []byte) []byte

func DeleteZeroWithLen

func DeleteZeroWithLen(src []byte, len int) []byte

func IntToBytes

func IntToBytes(n int) []byte

IntToBytes convert int to bytes

func Uint32ToBytes

func Uint32ToBytes(n uint32) []byte

Uint32ToBytes convert uint32 to bytes

Types

This section is empty.

Jump to

Keyboard shortcuts

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