common

package
Version: v0.0.0-...-f5f0bdb Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2019 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrTypeUnsupported = errors.New("type not supported")

ErrTypeUnsupported ...

Functions

func TypeBitLen

func TypeBitLen(value interface{}) int

TypeBitLen ...

func TypeEncodedLen

func TypeEncodedLen(value interface{}) int

TypeEncodedLen ...

func TypeEquals

func TypeEquals(value interface{}, other interface{}) bool

TypeEquals ...

func TypeIsNil

func TypeIsNil(value interface{}) bool

TypeIsNil ...

func TypeIsZeroValue

func TypeIsZeroValue(value interface{}) bool

TypeIsZeroValue ...

func TypeLen

func TypeLen(value interface{}) int

TypeLen ...

func TypeToBytes

func TypeToBytes(value interface{}) []byte

TypeToBytes ...

func TypeToHex

func TypeToHex(value interface{}) string

TypeToHex ...

func TypeToString

func TypeToString(value interface{}) string

TypeToString ...

func TypeToU8a

func TypeToU8a(value interface{}, isBare bool) []uint8

TypeToU8a ...

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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