Hi
Don Stewart wrote:
gue.schmidt:
Hi all,
I've never found an easy way to deal with ByteStrings.
I'm using the RSA library and it en- and decodes
Data.ByteString.Lazy.ByteString.
I initially start with Strings, ie. [Char], but there is no function to
convert the 2 back and
Mads Lindstrøm mads_lindstr...@yahoo.dk writes:
It may seem unfair that I put byte-strings and char-strings in the
same bucket, but libraries do use byte-strings to contain
characters. For example, Parsec has a [Char] and a bytestring
interface.
It bears noting that Data.ByteString and
Hi all,
I've never found an easy way to deal with ByteStrings.
I'm using the RSA library and it en- and decodes
Data.ByteString.Lazy.ByteString.
I initially start with Strings, ie. [Char], but there is no function to
convert the 2 back and forth. There is however a function which takes
2010/4/6 Günther Schmidt gue.schm...@web.de:
I initially start with Strings, ie. [Char], but there is no function to
convert the 2 back and forth. There is however a function which takes
[Word8] to BytesString and back.
The problem is one of encoding. If you use the Char8 Bytestring
variants,
Look in Data.ByteString.Char8
Cheers,
Greg
On Apr 5, 2010, at 6:27 PM, Günther Schmidt wrote:
Hi all,
I've never found an easy way to deal with ByteStrings.
I'm using the RSA library and it en- and decodes
Data.ByteString.Lazy.ByteString.
I initially start with Strings, ie. [Char],
gue.schmidt:
Hi all,
I've never found an easy way to deal with ByteStrings.
I'm using the RSA library and it en- and decodes
Data.ByteString.Lazy.ByteString.
I initially start with Strings, ie. [Char], but there is no function to
convert the 2 back and forth. There is however a