HsOpenSSL-0.3: (Part of) OpenSSL binding for HaskellContentsIndex
OpenSSL.EVP.Base64
Contents
Encoding
Decoding
Description
An interface to Base64 codec.
Synopsis
encodeBase64 :: String -> String
encodeBase64BS :: ByteString -> ByteString
encodeBase64LBS :: LazyByteString -> LazyByteString
decodeBase64 :: String -> String
decodeBase64BS :: ByteString -> ByteString
decodeBase64LBS :: LazyByteString -> LazyByteString
Encoding
encodeBase64 :: String -> String
encodeBase64 str 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.
encodeBase64BS :: ByteString -> ByteString
encodeBase64BS bs strictly encodes a chunk of data to Base64.
encodeBase64LBS :: LazyByteString -> LazyByteString
encodeBase64LBS lbs lazilly encodes a stream of data to Base64. The string doesn't have to be finite.
Decoding
decodeBase64 :: String -> String
decodeBase64 str lazilly decodes a stream of data from Base64. The string doesn't have to be finite.
decodeBase64BS :: ByteString -> ByteString
decodeBase64BS bs strictly decodes a chunk of data from Base64.
decodeBase64LBS :: LazyByteString -> LazyByteString
decodeBase64LBS lbs lazilly decodes a stream of data from Base64. The string doesn't have to be finite.
Produced by Haddock version 0.8