Description
Safe string conversion and encoding.
Description
In modern Haskell many different string types are commonly used in combination with the OverloadedStrings
extension. This small package provides means to convert safely between those. Currently, String
, lazy and strict Text
, lazy and strict ByteString
, '[Word8]' and ShortByteString
are supported.
README.md
encode-string: String encoding and decoding
In modern Haskell many different string types are commonly used in combination with the 'OverloadedStrings' extension. This small package provides means to convert safely between those. Currently, 'String', lazy and strict 'Text', lazy and strict 'ByteString', '[Word8]' and 'ShortByteString' are supported.