utiles

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2021 License: Apache-2.0 Imports: 6 Imported by: 25

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddHex

func AddHex(s string) string

func BytesToBnHex added in v0.7.5

func BytesToBnHex(value []byte) string

func BytesToHex

func BytesToHex(b []byte) string

func Debug added in v0.8.6

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 added in v0.9.2

func IsASCII(b []byte) bool

func ReverseBytes

func ReverseBytes(a []byte) []byte

func StringToInt

func StringToInt(s string) int

func ToString

func ToString(i interface{}) string

func TrimHex

func TrimHex(s string) string

func U256

func U256(v string) *big.Int

func UniqueSlice

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

Types

This section is empty.

Directories

Path Synopsis
crypto

Jump to

Keyboard shortcuts

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