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

Test.Cardano.Binary.TreeDiff

Synopsis

Documentation

showExprToExpr 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

Eq HexBytes Source # 
Instance details

Defined in Test.Cardano.Binary.TreeDiff

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

Eq CBORBytes Source # 
Instance details

Defined in Test.Cardano.Binary.TreeDiff

ToExpr CBORBytes Source # 
Instance details

Defined in Test.Cardano.Binary.TreeDiff

showHexBytesGroupedByteString → [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

toExprTermExpr Source #

listToExpr ∷ [Term] → Expr Source #