damnpacket-1.1.0: Parsing dAmn messages

Safe HaskellNone
LanguageHaskell2010

Network.Damn.Format.Damn

Synopsis

Documentation

damnFormat :: Formatter Text Source #

damnFormat is, essentially, a formatter that 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.