bytestring-conversion-0.3.1: Type-classes to convert values to and from ByteString.

Safe HaskellNone
LanguageHaskell2010

Data.ByteString.Conversion.To

Synopsis

Documentation

toByteString' :: ToByteString a => a -> ByteString Source

Please note that this needs to convert from a lazy ByteString to a strict one which involves copying the whole string.