damnpacket-1.3.0: Parsing dAmn messages

Safe HaskellNone
LanguageHaskell2010

Network.Damn.Format.Damn

Synopsis

Documentation

damnFormat :: Formatter Text Source #

damnFormat transforms a raw dAmn message into the text that the sender typed into the dAmn web client.

damnFormatBytes :: Formatter ByteString Source #

encodeUtf8 . damnFormat

This function is defined separately to avoid an encoding round-trip.