cosmos-sdk: github.com/cosmos/cosmos-sdk/codec Index | Files

package codec

import "github.com/cosmos/cosmos-sdk/codec"

Index

Package Files

codec.go

func MarshalJSONIndent Uses

func MarshalJSONIndent(cdc *Codec, obj interface{}) ([]byte, error)

attempt to make some pretty json

func MustMarshalJSONIndent Uses

func MustMarshalJSONIndent(cdc *Codec, obj interface{}) []byte

MustMarshalJSONIndent executes MarshalJSONIndent except it panics upon failure.

func RegisterCrypto Uses

func RegisterCrypto(cdc *Codec)

Register the go-crypto to the codec

func RegisterEvidences Uses

func RegisterEvidences(cdc *Codec)

RegisterEvidences registers Tendermint evidence types with the provided codec.

type Codec Uses

type Codec = amino.Codec

amino codec to marshal/unmarshal

var Cdc *Codec

generic sealed codec to be used throughout sdk

func New Uses

func New() *Codec

Package codec imports 6 packages (graph) and is imported by 184 packages. Updated 2019-08-20. Refresh now. Tools for package owners.