HsOpenSSL-0.6.4: (Incomplete) OpenSSL binding for HaskellSource codeContentsIndex
OpenSSL.EVP.Base64
Contents
Encoding
Decoding
Description
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 -> StringSource
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 -> ByteStringSource
encodeBase64BS bs strictly encodes a chunk of data to Base64.
encodeBase64LBS :: ByteString -> ByteStringSource
encodeBase64LBS lbs lazilly encodes a stream of data to Base64. The string doesn't have to be finite.
Decoding
decodeBase64 :: String -> StringSource
decodeBase64 str lazilly decodes a stream of data from Base64. The string doesn't have to be finite.
decodeBase64BS :: ByteString -> ByteStringSource
decodeBase64BS bs strictly decodes a chunk of data from Base64.
decodeBase64LBS :: ByteString -> ByteStringSource
decodeBase64LBS lbs lazilly decodes a stream of data from Base64. The string doesn't have to be finite.
Produced by Haddock version 2.4.2