state

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: MIT Imports: 3 Imported by: 49

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clear

func Clear(key []byte)

func ReadBigInt added in v1.4.0

func ReadBigInt(key []byte) *big.Int

func ReadBool added in v1.4.0

func ReadBool(key []byte) bool

func ReadBytes

func ReadBytes(key []byte) []byte

func ReadBytes20 added in v1.3.0

func ReadBytes20(key []byte) (out [20]byte)

func ReadBytes32 added in v1.3.0

func ReadBytes32(key []byte) (out [32]byte)

func ReadString

func ReadString(key []byte) string

func ReadUint32

func ReadUint32(key []byte) uint32

func ReadUint64

func ReadUint64(key []byte) uint64

func WriteBigInt added in v1.4.0

func WriteBigInt(key []byte, value *big.Int)

func WriteBool added in v1.4.0

func WriteBool(key []byte, value bool)

func WriteBytes

func WriteBytes(key []byte, value []byte)

func WriteBytes20 added in v1.3.0

func WriteBytes20(key []byte, value [20]byte)

func WriteBytes32 added in v1.3.0

func WriteBytes32(key []byte, value [32]byte)

func WriteString

func WriteString(key []byte, value string)

func WriteUint32

func WriteUint32(key []byte, value uint32)

func WriteUint64

func WriteUint64(key []byte, value uint64)

Types

This section is empty.

Jump to

Keyboard shortcuts

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