utiles

package
v1.0.27 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2021 License: Apache-2.0 Imports: 6 Imported by: 24

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 SliceIndex added in v1.0.11

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 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