hs-abci-sdk-0.1.0.0

Safe HaskellNone
LanguageHaskell2010

Tendermint.SDK.Codec

Synopsis

Documentation

class HasCodec a where Source #

This class is used as a codec for all items stored in | the database as well as incoming transaction messages.

Methods

encode :: a -> ByteString Source #

decode :: ByteString -> Either Text a Source #