cardano-crypto-wrapper-1.5.1.2: 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 Source #

showRawString Source #

showList ∷ [Raw] → ShowS Source #

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 → () Source #

Eq Raw Source # 
Instance details

Defined in Cardano.Crypto.Raw

Methods

(==)RawRawBool Source #

(/=)RawRawBool Source #

Ord Raw Source # 
Instance details

Defined in Cardano.Crypto.Raw

Methods

compareRawRawOrdering Source #

(<)RawRawBool Source #

(<=)RawRawBool Source #

(>)RawRawBool Source #

(>=)RawRawBool Source #

maxRawRawRaw Source #

minRawRawRaw Source #