bytepatch-0.2.0: Patch byte-representable data in a bytestream.
Safe HaskellNone
LanguageHaskell2010

BytePatch.Pretty.HexByteString

Description

A ByteString newtype wrapper indicating a human-readable bytestring, to be displayed in hex form (e.g. 00 12 AB FF).

Synopsis

Documentation

parseHexByteString :: (MonadParsec e s m, Token s ~ Char) => m Bytes Source #

A hex bytestring looks like this: 00 01 89 8a FEff. You can mix and match capitalization and spacing, but I prefer to space each byte, full caps.