Modulecardano-ledger-binary-1.9.1.0
Cardano.Ledger.Binary.Decoding
Synopsis
- value cborError
- value toCborError
- value decodeFull
- value decodeFull'
- value decodeFullAnnotatedBytes
- value decodeFullAnnotator
- value decodeFullAnnotatorFromHexText
- value decodeFullDecoder
- value decodeFullDecoder'
- value decodeFullFromHexText
- value decodeMemPack
- value decodeNestedCbor
- value decodeNestedCborBytes
- value unsafeDeserialize
- value unsafeDeserialize'
- value annotatedDecoder
- value annotationBytes
- value annotatorSlice
- value decCBORAnnotated
- value decodeAnnSet
- value decodeAnnotated
- value decodeNonEmptySetLikeEnforceNoDuplicatesAnn
- value reAnnotate
- value slice
- value withSlice
- value decodeIntegralRational
- value decodeScriptContextFromData
- value fromByronCBOR
- value allowTag
- value assertTag
- value decodeAccA
- value decodeBool
- value decodeBreakOr
- value decodeByteArray
- value decodeByteArrayCanonical
- value decodeBytes
- value decodeBytesCanonical
- value decodeBytesIndef
- value decodeDouble
- value decodeDoubleCanonical
- value decodeEither
- value decodeEnumBounded
- value decodeFixedSized
- value decodeFloat
- value decodeFloat16Canonical
- value decodeFloatCanonical
- value decodeIPv4
- value decodeIPv6
- value decodeInt
- value decodeInt16
- value decodeInt16Canonical
- value decodeInt32
- value decodeInt32Canonical
- value decodeInt64
- value decodeInt64Canonical
- value decodeInt8
- value decodeInt8Canonical
- value decodeIntCanonical
- value decodeIntMap
- value decodeInteger
- value decodeIntegerCanonical
- value decodeList
- value decodeListLen
- value decodeListLenCanonical
- value decodeListLenCanonicalOf
- value decodeListLenIndef
- value decodeListLenOf
- value decodeListLenOrIndef
- value decodeListLike
- value decodeListLikeEnforceNoDuplicates
- value decodeListLikeT
- value decodeListLikeWithCount
- value decodeListLikeWithCountT
- value decodeMap
- value decodeMapByKey
- value decodeMapContents
- value decodeMapContentsTraverse
- value decodeMapLen
- value decodeMapLenCanonical
- value decodeMapLenIndef
- value decodeMapLenOrIndef
- value decodeMapLikeEnforceNoDuplicates
- value decodeMapTraverse
- value decodeMaybe
- value decodeNatural
- value decodeNegWord
- value decodeNegWord64
- value decodeNegWord64Canonical
- value decodeNegWordCanonical
- value decodeNonEmptyList
- value decodeNonEmptySetLikeEnforceNoDuplicates
- value decodeNull
- value decodeNullMaybe
- value decodeNullStrictMaybe
- value decodeRational
- value decodeRationalWithTag
- value decodeRecordNamed
- value decodeRecordNamedT
- value decodeRecordSum
- value decodeSeq
- value decodeSequenceLenIndef
- value decodeSequenceLenN
- value decodeSet
- value decodeSetLikeEnforceNoDuplicates
- value decodeSetTag
- value decodeSimple
- value decodeSimpleCanonical
- value decodeSparseKeyed
- value decodeStrictMaybe
- value decodeStrictSeq
- value decodeString
- value decodeStringCanonical
- value decodeStringIndef
- value decodeTag
- value decodeTag64
- value decodeTag64Canonical
- value decodeTagCanonical
- value decodeTerm
- value decodeUTCTime
- value decodeUtf8ByteArray
- value decodeUtf8ByteArrayCanonical
- value decodeVMap
- value decodeVector
- value decodeVersion
- value decodeWithByteSpan
- value decodeWithOrigin
- value decodeWord
- value decodeWord16
- value decodeWord16Canonical
- value decodeWord32
- value decodeWord32Canonical
- value decodeWord64
- value decodeWord64Canonical
- value decodeWord8
- value decodeWord8Canonical
- value decodeWordCanonical
- value decodeWordCanonicalOf
- value decodeWordOf
- value enforceDecoderVersion
- value enforceSize
- value failOnMempty
- value failOnNull
- value fromPlainDecoder
- value getDecoderVersion
- value ifDecoderVersionAtLeast
- value liftST
- value matchSize
- value originalBytesExpectedFailureMessage
- value peekAvailable
- value peekByteOffset
- value peekTokenType
- value setTag
- value toPlainDecoder
- value unlessDecoderVersionAtLeast
- value whenDecoderVersionAtLeast
- value withPlainDecoder
- value dropBytes
- value dropInt32
- value dropList
- value dropMap
- value dropSet
- value dropTriple
- value dropTuple
- value dropWord64
- value dropWord8
- value decNoShareCBOR
- value decShareLensCBOR
- value decShareMonadCBOR
- value decSharePlusLensCBOR
- value internMap
- value internSet
- value interns
- value internsFromMap
- value internsFromSet
- value internsFromVMap
- value toMemptyLens
- value decodeSized
- value mapSized
- value mkSized
- value toSizedL
- value unsafeMapSized
- value invalidKey
- value showDecoderError
- value allVersions
- value byronProtVer
- value getVersion
- value getVersion32
- value getVersion64
- value mkVersion
- value mkVersion32
- value mkVersion64
- value natVersion
- value natVersionProxy
- value shelleyProtVer
- value succVersion
- value toStrictByteString
- data DecoderError
- data Annotated
- newtype Annotator
- family BaseType
- data ByteSpan
- class Decoded
- newtype FullByteString
- class DecCBOR
- newtype Decoder
- type Dropper
- class DecShareCBOR
- data Intern
- newtype Interns
- family Share
- data Sized
- type MaxVersion
- type MinVersion
- newtype Version
- newtype ByteArray
- type ByteOffset
- data DecodeAction
- data TokenType
- Packagecardano-ledger-binary-1.9.1.0
- Exports218
- LicenceApache-2.0
- SourceWrite.hs
Turn an Encoding into a strict ByteString in CBOR binary format.
Instances5Eq, Show, Exception, NFData, Buildable
Eq DecoderErrorDefined in cardano-binary-1.9.1.0 · Cardano.Binary.FromCBORShow DecoderErrorDefined in cardano-binary-1.9.1.0 · Cardano.Binary.FromCBORException DecoderErrorDefined in cardano-binary-1.9.1.0 · Cardano.Binary.FromCBORNFData DecoderErrorDefined in cardano-binary-1.9.1.0 · Cardano.Binary.FromCBORBuildable DecoderErrorDefined in cardano-binary-1.9.1.0 · Cardano.Binary.FromCBOR
Constructors
AnnotatedunAnnotated :: !bannotation :: !a
Instances14Bifunctor, Functor, Eq, Ord, Show, Generic, …
Bifunctor AnnotatedDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.AnnotatedFunctor (Annotated b)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.Annotated(Eq b, Eq a) => Eq (Annotated b a)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.Annotated(Eq a, Ord b) => Ord (Annotated b a)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.Annotated(Show b, Show a) => Show (Annotated b a)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.AnnotatedGeneric (Annotated b a)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.Annotated(NFData b, NFData a) => NFData (Annotated b a)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.AnnotatedFromJSON b => FromJSON (Annotated b ())Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.AnnotatedToJSON b => ToJSON (Annotated b a)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.Annotated(NoThunks b, NoThunks a) => NoThunks (Annotated b a)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.AnnotatedDecoded (Annotated b ByteString)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.AnnotatedDecCBOR a => DecCBOR (Annotated a ByteString)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.Annotatedtype Rep (Annotated b a) = D1 ('MetaDataDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.Annotated"Annotated"
"Cardano.Ledger.Binary.Decoding.Annotated"
"cardano-ledger-binary-1.9.1.0-5C4kxjRRLv0wBCVoWZpjN"
'False) (C1 ('MetaCons"Annotated"
'PrefixI 'True) (S1 ('MetaSel ('Just"unAnnotated"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 b) :*: S1 ('MetaSel ('Just"annotation"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 a)))type BaseType (Annotated b ByteString) = bDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.Annotated
Constructors
Instances5Monad, Functor, MonadFail, Applicative, DecCBOR
Monad AnnotatorDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.AnnotatedFunctor AnnotatorDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.AnnotatedMonadFail AnnotatorDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.AnnotatedApplicative AnnotatorDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.AnnotatedDecCBOR (Annotator Data)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.Annotated
Instances1BaseType
type BaseType (Annotated b ByteString) = bDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.Annotated
Constructors
Instances4Show, Generic, ToJSON, Rep
Show ByteSpanDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.AnnotatedGeneric ByteSpanDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.AnnotatedToJSON ByteSpanDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.Annotatedtype Rep ByteSpan = D1 ('MetaDataDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.Annotated"ByteSpan"
"Cardano.Ledger.Binary.Decoding.Annotated"
"cardano-ledger-binary-1.9.1.0-5C4kxjRRLv0wBCVoWZpjN"
'False) (C1 ('MetaCons"ByteSpan"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 ByteOffset) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 ByteOffset)))
Associated types
type family BaseType t
Methods
recoverBytes :: t -> ByteString
Instances1Decoded
Decoded (Annotated b ByteString)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.Annotated
Constructors
Instances92DecCBOR, …
DecCBOR ByteArrayDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR ByteStringDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR ByteStringDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR ShortByteStringDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR IPv4Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR IPv6Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR BitFieldDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR LeiosCertDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR ProofDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR SignKeyDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR VerKeyDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR VersionDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR BlockNoDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR EpochIntervalDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR EpochNoDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR EpochSizeDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR SlotNoDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR SystemStartDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR ByteArrayDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR SlicedByteArrayDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR TermDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR VoidDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR IntegerDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR NaturalDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR Int16Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR Int32Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR Int64Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR Int8Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR RationalDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR BoolDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR DoubleDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR FloatDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR IntDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR WordDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR Word16Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR Word32Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR Word64Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR Word8Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR DataDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR ScriptContextDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR ScriptContextDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR ScriptContextDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR TextDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR UTCTimeDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR ()Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDSIGNAlgorithm v => DecCBOR (SigDSIGN v)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDSIGNAlgorithm v => DecCBOR (SignKeyDSIGN v)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDSIGNAlgorithm v => DecCBOR (VerKeyDSIGN v)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORKESAlgorithm k => DecCBOR (SigKES k)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORKESAlgorithm k => DecCBOR (VerKeyKES k)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR (CertVRF MockVRF)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR (CertVRF SimpleVRF)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR (CertVRF PraosVRF)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR (SignKeyVRF MockVRF)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR (SignKeyVRF SimpleVRF)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR (SignKeyVRF PraosVRF)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR (VerKeyVRF MockVRF)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR (VerKeyVRF SimpleVRF)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR (VerKeyVRF PraosVRF)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR (Annotator Data)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.AnnotatedDecCBOR a => DecCBOR (Sized a)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.SizedDecCBOR a => DecCBOR (StrictMaybe a)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR a => DecCBOR (StrictSeq a)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR a => DecCBOR (Seq a)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR a => DecCBOR (NonEmpty a)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR a => DecCBOR (Maybe a)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR a => DecCBOR (Vector a)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR a => DecCBOR [a]Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR v => DecCBOR (IntMap v)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORTypeable v => DecCBOR (OutputVRF v)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORKnownNat n => DecCBOR (PackedBytes n)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBOR(DecCBOR a, Storable a) => DecCBOR (Vector a)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBOR(DecCBOR a, Prim a) => DecCBOR (Vector a)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBOR(DecCBOR a, Unbox a) => DecCBOR (Vector a)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBOR(DecCBORGroup a, EncCBORGroup a) => DecCBOR (CBORGroup a)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Group(Ord a, DecCBOR a) => DecCBOR (Set a)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBOR(Serialise t, Typeable t) => DecCBOR (WithOrigin t)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBORDecCBOR a => DecCBOR (Annotated a ByteString)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.AnnotatedTypeable p => DecCBOR (Fixed p)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBOR(DSIGNAlgorithm v, Typeable a) => DecCBOR (SignedDSIGN v a)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBOR(HashAlgorithm h, Typeable a) => DecCBOR (Hash h a)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBOR(VRFAlgorithm v, Typeable a) => DecCBOR (CertifiedVRF v a)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBOR(DecCBOR a, DecCBOR b) => DecCBOR (Either a b)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBOR(DecCBOR a, DecCBOR b) => DecCBOR (a, b)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBOR(Ord k, DecCBOR k, DecCBOR v) => DecCBOR (Map k v)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBOR(DecCBOR a, DecCBOR b, DecCBOR c) => DecCBOR (a, b, c)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBOR(Typeable s, DecCBOR a) => DecCBOR (Tagged s a)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBOR(DecCBOR a, DecCBOR b, DecCBOR c, DecCBOR d) => DecCBOR (a, b, c, d)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBOR(Ord k, DecCBOR k, DecCBOR a, Typeable kv, Typeable av, Vector kv k, Vector av a) => DecCBOR (VMap kv av k a)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBOR(DecCBOR a, DecCBOR b, DecCBOR c, DecCBOR d, DecCBOR e) => DecCBOR (a, b, c, d, e)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBOR(DecCBOR a, DecCBOR b, DecCBOR c, DecCBOR d, DecCBOR e, DecCBOR f) => DecCBOR (a, b, c, d, e, f)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBOR(DecCBOR a, DecCBOR b, DecCBOR c, DecCBOR d, DecCBOR e, DecCBOR f, DecCBOR g) => DecCBOR (a, b, c, d, e, f, g)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBOR
Instances4Monad, Functor, MonadFail, Applicative
Monad (Decoder s)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecoderFunctor (Decoder s)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecoderMonadFail (Decoder s)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecoderApplicative (Decoder s)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.Decoder
Constructors
InterninternMaybe :: a -> Maybe ainternWeight :: !Int
Constructors
SizedsizedValue :: !asizedSize :: Int64
Instances8Eq, Show, Generic, NFData, NoThunks, DecCBOR, …
Eq a => Eq (Sized a)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.SizedShow a => Show (Sized a)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.SizedGeneric (Sized a)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.SizedNFData a => NFData (Sized a)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.SizedNoThunks a => NoThunks (Sized a)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.SizedDecCBOR a => DecCBOR (Sized a)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.SizedEncCBOR a => EncCBOR (Sized a)Defined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.Sizedtype Rep (Sized a) = D1 ('MetaDataDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.Sized"Sized"
"Cardano.Ledger.Binary.Decoding.Sized"
"cardano-ledger-binary-1.9.1.0-5C4kxjRRLv0wBCVoWZpjN"
'False) (C1 ('MetaCons"Sized"
'PrefixI 'True) (S1 ('MetaSel ('Just"sizedValue"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 a) :*: S1 ('MetaSel ('Just"sizedSize"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int64)))
Instances16Bounded, Enum, Eq, Ord, Show, NFData, …
Bounded VersionDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.VersionEnum VersionDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.VersionEq VersionDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.VersionOrd VersionDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.VersionShow VersionDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.VersionNFData VersionDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.VersionRandom VersionDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.VersionUniform VersionDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.VersionUniformRange VersionDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.VersionFromJSON VersionDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.VersionToJSON VersionDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.VersionNoThunks VersionDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.VersionFromCBOR VersionDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.VersionToCBOR VersionDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.VersionDecCBOR VersionDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBOREncCBOR VersionDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Encoding.EncCBOR
Instances10IsList, Eq, Ord, Show, IsString, FromCBOR, …
IsList ByteArrayDefined in cborg-0.2.10.0 · Codec.CBOR.ByteArrayEq ByteArrayDefined in cborg-0.2.10.0 · Codec.CBOR.ByteArrayOrd ByteArrayDefined in cborg-0.2.10.0 · Codec.CBOR.ByteArrayShow ByteArrayDefined in cborg-0.2.10.0 · Codec.CBOR.ByteArrayIsString ByteArrayDefined in cborg-0.2.10.0 · Codec.CBOR.ByteArrayFromCBOR ByteArrayDefined in cardano-binary-1.9.1.0 · Cardano.Binary.FromCBORToCBOR ByteArrayDefined in cardano-binary-1.9.1.0 · Cardano.Binary.ToCBORDecCBOR ByteArrayDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Decoding.DecCBOREncCBOR ByteArrayDefined in cardano-ledger-binary-1.9.1.0 · Cardano.Ledger.Binary.Encoding.EncCBORtype Item ByteArray = Word8Defined in cborg-0.2.10.0 · Codec.CBOR.ByteArray
An action, representing a step for a decoder to taken and a continuation to invoke with the expected value.
Constructors
ConsumeWord (Word# -> ST s (DecodeAction s a))ConsumeWord8 (Word# -> ST s (DecodeAction s a))ConsumeWord16 (Word# -> ST s (DecodeAction s a))ConsumeWord32 (Word# -> ST s (DecodeAction s a))ConsumeNegWord (Word# -> ST s (DecodeAction s a))ConsumeInt (Int# -> ST s (DecodeAction s a))ConsumeInt8 (Int# -> ST s (DecodeAction s a))ConsumeInt16 (Int# -> ST s (DecodeAction s a))ConsumeInt32 (Int# -> ST s (DecodeAction s a))ConsumeListLen (Int# -> ST s (DecodeAction s a))ConsumeMapLen (Int# -> ST s (DecodeAction s a))ConsumeTag (Word# -> ST s (DecodeAction s a))ConsumeInteger (Integer -> ST s (DecodeAction s a))ConsumeFloat (Float# -> ST s (DecodeAction s a))ConsumeDouble (Double# -> ST s (DecodeAction s a))ConsumeBytes (ByteString -> ST s (DecodeAction s a))ConsumeByteArray (ByteArray -> ST s (DecodeAction s a))ConsumeString (Text -> ST s (DecodeAction s a))ConsumeUtf8ByteArray (ByteArray -> ST s (DecodeAction s a))ConsumeBool (Bool -> ST s (DecodeAction s a))ConsumeSimple (Word# -> ST s (DecodeAction s a))ConsumeBytesIndef (ST s (DecodeAction s a))ConsumeStringIndef (ST s (DecodeAction s a))ConsumeListLenIndef (ST s (DecodeAction s a))ConsumeMapLenIndef (ST s (DecodeAction s a))ConsumeNull (ST s (DecodeAction s a))ConsumeListLenOrIndef (Int# -> ST s (DecodeAction s a))ConsumeMapLenOrIndef (Int# -> ST s (DecodeAction s a))ConsumeBreakOr (Bool -> ST s (DecodeAction s a))PeekTokenType (TokenType -> ST s (DecodeAction s a))PeekAvailable (Int# -> ST s (DecodeAction s a))PeekByteOffset (Int# -> ST s (DecodeAction s a))ConsumeWordCanonical (Word# -> ST s (DecodeAction s a))ConsumeWord8Canonical (Word# -> ST s (DecodeAction s a))ConsumeWord16Canonical (Word# -> ST s (DecodeAction s a))ConsumeWord32Canonical (Word# -> ST s (DecodeAction s a))ConsumeNegWordCanonical (Word# -> ST s (DecodeAction s a))ConsumeIntCanonical (Int# -> ST s (DecodeAction s a))ConsumeInt8Canonical (Int# -> ST s (DecodeAction s a))ConsumeInt16Canonical (Int# -> ST s (DecodeAction s a))ConsumeInt32Canonical (Int# -> ST s (DecodeAction s a))ConsumeListLenCanonical (Int# -> ST s (DecodeAction s a))ConsumeMapLenCanonical (Int# -> ST s (DecodeAction s a))ConsumeTagCanonical (Word# -> ST s (DecodeAction s a))ConsumeIntegerCanonical (Integer -> ST s (DecodeAction s a))ConsumeFloat16Canonical (Float# -> ST s (DecodeAction s a))ConsumeFloatCanonical (Float# -> ST s (DecodeAction s a))ConsumeDoubleCanonical (Double# -> ST s (DecodeAction s a))ConsumeBytesCanonical (ByteString -> ST s (DecodeAction s a))ConsumeByteArrayCanonical (ByteArray -> ST s (DecodeAction s a))ConsumeStringCanonical (Text -> ST s (DecodeAction s a))ConsumeUtf8ByteArrayCanonical (ByteArray -> ST s (DecodeAction s a))ConsumeSimpleCanonical (Word# -> ST s (DecodeAction s a))Fail StringDone a
The type of a token, which a decoder can ask for at an arbitrary time.
Instances5Bounded, Enum, Eq, Ord, Show
Bounded TokenTypeDefined in cborg-0.2.10.0 · Codec.CBOR.DecodingEnum TokenTypeDefined in cborg-0.2.10.0 · Codec.CBOR.DecodingEq TokenTypeDefined in cborg-0.2.10.0 · Codec.CBOR.DecodingOrd TokenTypeDefined in cborg-0.2.10.0 · Codec.CBOR.DecodingShow TokenTypeDefined in cborg-0.2.10.0 · Codec.CBOR.Decoding