utiles

package
v1.1.56 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddHex

func AddHex(s string) string

func BytesToBnHex

func BytesToBnHex(value []byte) string

func BytesToHex

func BytesToHex(b []byte) string

func Debug

func Debug(i interface{})

func HexToBytes

func HexToBytes(s string) []byte

func IntInSlice

func IntInSlice(a int, list []int) bool

func IntToHex

func IntToHex(i interface{}) string

func IsASCII

func IsASCII(b []byte) bool

func ReverseBytes

func ReverseBytes(a []byte) []byte

func SliceIndex

func SliceIndex(a string, list []string) int

func StringToInt

func StringToInt(s string) int

func ToString

func ToString(i interface{}) string

func TrimHex

func TrimHex(s string) string

func TrueOrElse

func TrueOrElse(expect bool, a, b string) string

func U256

func U256(v string) *big.Int

func U8Encode

func U8Encode(i int) string

func UniqueSlice

func UniqueSlice(s []string) (list []string)

Types

This section is empty.

Directories

Path Synopsis
crypto
ethereum/common/math
Package math provides integer math utilities.
Package math provides integer math utilities.

Jump to

Keyboard shortcuts

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