|
Data.ByteString.Base64 | Portability | GHC | Stability | experimental | Maintainer | bos@serpentine.com |
|
|
|
Description |
Fast and efficient encoding and decoding of base64-encoded strings.
|
|
Synopsis |
|
|
|
Documentation |
|
|
Encode a string into base64 form. The result will always be a
multiple of 4 bytes in length.
|
|
|
Decode a base64-encoded string. This function strictly follows
the specification in RFC 4648,
http://www.apps.ietf.org/rfc/rfc4648.html.
|
|
|
Decode a base64-encoded string. This function is lenient in
following the specification from RFC 4648,
http://www.apps.ietf.org/rfc/rfc4648.html, and will not generate
parse errors no matter how poor its input.
|
|
|
:: ByteString | String to intersperse and end with
| -> Int | Interval at which to intersperse, in bytes
| -> ByteString | String to transform
| -> ByteString | | Efficiently intersperse a terminator string into another at
regular intervals, and terminate the input with it.
Examples:
joinWith "|" 2 "----" = "--|--|"
joinWith "\r\n" 3 "foobarbaz" = "foo\r\nbar\r\nbaz\r\n"
|
|
|
Produced by Haddock version 2.6.0 |