cometa-0.1.0.0: Idiomatic Haskell bindings to cardano-c
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cometa.Encoding.Set

Description

CBOR representation of ledger set collections. This choice controls the optional tag only; ordering and duplicate handling belong to each collection.

Synopsis

Documentation

data SetEncoding Source #

Whether a set array carries CBOR tag 258. Choose the representation required by the target protocol; accepting both when decoding does not imply both are valid on every network or protocol version.

Constructors

TaggedSet

Prefix the array with CBOR tag 258.

UntaggedSet

Encode the array without a set tag.