Safe Haskell | None |
---|---|
Language | Haskell2010 |
An interface to Base64 codec.
Synopsis
- encodeBase64 :: String -> String
- encodeBase64BS :: ByteString -> ByteString
- encodeBase64LBS :: ByteString -> ByteString
- decodeBase64 :: String -> String
- decodeBase64BS :: ByteString -> ByteString
- decodeBase64LBS :: ByteString -> ByteString
Encoding
encodeBase64 :: String -> String Source #
Deprecated: Use encodeBase64BS or encodeBase64LBS instead.
lazilly encodes a stream of data to
Base64. The string doesn't have to be finite. Note that the string
must not contain any letters which aren't in the range of U+0000 -
U+00FF.encodeBase64
str
encodeBase64BS :: ByteString -> ByteString Source #
strictly encodes a chunk of data to Base64.encodeBase64BS
bs
encodeBase64LBS :: ByteString -> ByteString Source #
lazilly encodes a stream of data to
Base64. The string doesn't have to be finite.encodeBase64LBS
lbs
Decoding
decodeBase64 :: String -> String Source #
Deprecated: Use decodeBase64BS or decodeBase64LBS instead.
lazilly decodes a stream of data from
Base64. The string doesn't have to be finite.decodeBase64
str
decodeBase64BS :: ByteString -> ByteString Source #
strictly decodes a chunk of data from
Base64.decodeBase64BS
bs
decodeBase64LBS :: ByteString -> ByteString Source #
lazilly decodes a stream of data from
Base64. The string doesn't have to be finite.decodeBase64LBS
lbs