hexnum

package
v0.0.0-...-4fc266b Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2025 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BigIntToHex

func BigIntToHex(num *big.Int) string

func BytesToHex

func BytesToHex(b []byte) string

func Int64ToHex

func Int64ToHex(num int64) string

func IntToHex

func IntToHex(num int) string

func ParseBigInt

func ParseBigInt(value string) (*big.Int, error)

ParseBigInt parse hex string value to big.Int

func ParseHexBytes

func ParseHexBytes(value string) ([]byte, error)

func ParseHexInt

func ParseHexInt(value string) (int, error)

ParseHexInt parse hex string value to int

func ParseHexInt64

func ParseHexInt64(value string) (int64, error)

ParseHexInt64 parse hex string value to int64

func ParseHexUint64

func ParseHexUint64(value string) (uint64, error)

ParseHexUint64 parse hex string value to uint64

func Uint64ToHex

func Uint64ToHex(num uint64) string

func UintToHex

func UintToHex(num uint) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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