utiles

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2020 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 BytesToHex

func BytesToHex(b []byte) string

func HexToBytes

func HexToBytes(s string) []byte

func IntInSlice

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

func IntToHex

func IntToHex(i interface{}) string

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