cardano-binary-1.9.1.0: Binary serialization for Cardano
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Cardano.Binary.TreeDiff

Synopsis

Documentation

showExpr ∷ ToExpr a ⇒ a → String Source #

newtype HexBytes Source #

Wraps regular ByteString, but shows and diffs it as hex

Constructors

HexBytes 

Instances

Instances details
Show HexBytes Source # 
Instance details

Defined in Test.Cardano.Binary.TreeDiff

Methods

showsPrec ∷ Int → HexBytes → ShowS #

show ∷ HexBytes → String #

showList ∷ [HexBytes] → ShowS #

Eq HexBytes Source # 
Instance details

Defined in Test.Cardano.Binary.TreeDiff

Methods

(==) ∷ HexBytes → HexBytes → Bool #

(/=) ∷ HexBytes → HexBytes → Bool #

ToExpr HexBytes Source # 
Instance details

Defined in Test.Cardano.Binary.TreeDiff

newtype CBORBytes Source #

Constructors

CBORBytes 

Instances

Instances details
Show CBORBytes Source # 
Instance details

Defined in Test.Cardano.Binary.TreeDiff

Methods

showsPrec ∷ Int → CBORBytes → ShowS #

show ∷ CBORBytes → String #

showList ∷ [CBORBytes] → ShowS #

Eq CBORBytes Source # 
Instance details

Defined in Test.Cardano.Binary.TreeDiff

Methods

(==) ∷ CBORBytes → CBORBytes → Bool #

(/=) ∷ CBORBytes → CBORBytes → Bool #

ToExpr CBORBytes Source # 
Instance details

Defined in Test.Cardano.Binary.TreeDiff

showHexBytesGrouped ∷ ByteString → [String] Source #

Show a ByteString as hex groups of 8bytes each. This is a slightly more useful form for debugging, rather than bunch of escaped characters.

Orphan instances

ToExpr Term Source # 
Instance details

Methods

toExpr ∷ Term → Expr Source #

listToExpr ∷ [Term] → Expr Source #