Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Test.Cardano.Binary.TreeDiff
Contents
Synopsis
- showDecoderError ∷ Buildable e ⇒ e → String
- showExpr ∷ ToExpr a ⇒ a → String
- newtype HexBytes = HexBytes {
- unHexBytes ∷ ByteString
- newtype CBORBytes = CBORBytes {
- unCBORBytes ∷ ByteString
- hexByteStringExpr ∷ ByteString → [Expr]
- showHexBytesGrouped ∷ ByteString → [String]
Documentation
showDecoderError ∷ Buildable e ⇒ e → String Source #
Wraps regular ByteString, but shows and diffs it as hex
Constructors
HexBytes | |
Fields
|
Constructors
CBORBytes | |
Fields
|
hexByteStringExpr ∷ ByteString → [Expr] Source #
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.