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

Safe HaskellNone

Data.ByteString.Conversion.To

Synopsis

Documentation

toByteString' :: ToByteString a => a -> ByteStringSource

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