cardano-crypto-wrapper-1.5.1.3: Cryptographic primitives used in Byron era of the Cardano project
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cardano.Crypto.Raw

Synopsis

Documentation

newtype Raw Source #

A wrapper over ByteString for signalling that a bytestring should be processed as a sequence of bytes, not as a separate entity. It's used in crypto and binary code.

Constructors

Raw ByteString 

Instances

Instances details
Show Raw Source # 
Instance details

Defined in Cardano.Crypto.Raw

Methods

showsPrecIntRawShowS #

showRawString #

showList ∷ [Raw] → ShowS #

FromCBOR Raw Source # 
Instance details

Defined in Cardano.Crypto.Raw

ToCBOR Raw Source # 
Instance details

Defined in Cardano.Crypto.Raw

Methods

toCBORRawEncoding Source #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy RawSize Source #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Raw] → Size Source #

DecCBOR Raw Source # 
Instance details

Defined in Cardano.Crypto.Raw

EncCBOR Raw Source # 
Instance details

Defined in Cardano.Crypto.Raw

Methods

encCBORRawEncoding Source #

encodedSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy RawSize Source #

encodedListSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy [Raw] → Size Source #

NFData Raw Source # 
Instance details

Defined in Cardano.Crypto.Raw

Methods

rnfRaw → () #

Eq Raw Source # 
Instance details

Defined in Cardano.Crypto.Raw

Methods

(==)RawRawBool #

(/=)RawRawBool #

Ord Raw Source # 
Instance details

Defined in Cardano.Crypto.Raw

Methods

compareRawRawOrdering #

(<)RawRawBool #

(<=)RawRawBool #

(>)RawRawBool #

(>=)RawRawBool #

maxRawRawRaw #

minRawRawRaw #