plutus-core-1.36.0.0: Language library for Plutus Core
Safe HaskellSafe-Inferred
LanguageHaskell2010

Codec.Extras.FlatViaSerialise

Synopsis

Documentation

newtype FlatViaSerialise a Source #

For deriving Flat instances via Serialize.

Constructors

FlatViaSerialise 

Fields

Instances

Instances details
Serialise a => Flat (FlatViaSerialise a) Source # 
Instance details

Defined in Codec.Extras.FlatViaSerialise

Methods

encode :: FlatViaSerialise a -> Encoding

decode :: Get (FlatViaSerialise a)

size :: FlatViaSerialise a -> NumBits -> NumBits