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

PlutusCore.Flat.Encoder.Types

Description

Encoder Types

Synopsis

Documentation

type Size a = a → NumBitsNumBits Source #

Add the maximum size in bits of the encoding of value a to a NumBits

type NumBits = Int Source #

Number of bits

type Prim = SIO S Source #

A basic encoder

data S Source #

Strict encoder state

Constructors

S 

Fields

Instances

Instances details
Show S Source # 
Instance details

Defined in PlutusCore.Flat.Encoder.Types

Methods

showsPrecIntSShowS Source #

showSString Source #

showList ∷ [S] → ShowS Source #