/usr/share/doc/libghc-base64-bytestring-doc/html/base64-bytestring.txt is in libghc-base64-bytestring-doc 1.0.0.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 | -- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Fast base64 encoding and decoding for ByteStrings
--
-- Fast base64 encoding and decoding for ByteStrings
@package base64-bytestring
@version 1.0.0.1
-- | Fast and efficient encoding and decoding of base64url-encoded strings.
module Data.ByteString.Base64.URL
-- | Encode a string into base64url form. The result will always be a
-- multiple of 4 bytes in length.
encode :: ByteString -> ByteString
-- | Decode a base64url-encoded string. This function strictly follows the
-- specification in RFC 4648,
-- <a>http://www.apps.ietf.org/rfc/rfc4648.html</a>.
decode :: ByteString -> Either String ByteString
-- | Decode a base64url-encoded string. This function is lenient in
-- following the specification from RFC 4648,
-- <a>http://www.apps.ietf.org/rfc/rfc4648.html</a>, and will not
-- generate parse errors no matter how poor its input.
decodeLenient :: ByteString -> ByteString
-- | Efficiently intersperse a terminator string into another at regular
-- intervals, and terminate the input with it.
--
-- Examples:
--
-- <pre>
-- joinWith "|" 2 "----" = "--|--|"
-- </pre>
--
-- <pre>
-- joinWith "\r\n" 3 "foobarbaz" = "foo\r\nbar\r\nbaz\r\n"
-- joinWith "x" 3 "fo" = "fox"
-- </pre>
joinWith :: ByteString -> Int -> ByteString -> ByteString
-- | Fast and efficient encoding and decoding of base64-encoded lazy
-- bytestrings.
module Data.ByteString.Base64.URL.Lazy
-- | Encode a string into base64 form. The result will always be a multiple
-- of 4 bytes in length.
encode :: ByteString -> ByteString
-- | Decode a base64-encoded string. This function strictly follows the
-- specification in RFC 4648,
-- <a>http://www.apps.ietf.org/rfc/rfc4648.html</a>.
decode :: ByteString -> Either String ByteString
-- | Decode a base64-encoded string. This function is lenient in following
-- the specification from RFC 4648,
-- <a>http://www.apps.ietf.org/rfc/rfc4648.html</a>, and will not
-- generate parse errors no matter how poor its input.
decodeLenient :: ByteString -> ByteString
-- | Fast and efficient encoding and decoding of base64-encoded strings.
module Data.ByteString.Base64
-- | Encode a string into base64 form. The result will always be a multiple
-- of 4 bytes in length.
encode :: ByteString -> ByteString
-- | Decode a base64-encoded string. This function strictly follows the
-- specification in RFC 4648,
-- <a>http://www.apps.ietf.org/rfc/rfc4648.html</a>.
decode :: ByteString -> Either String ByteString
-- | Decode a base64-encoded string. This function is lenient in following
-- the specification from RFC 4648,
-- <a>http://www.apps.ietf.org/rfc/rfc4648.html</a>, and will not
-- generate parse errors no matter how poor its input.
decodeLenient :: ByteString -> ByteString
-- | Efficiently intersperse a terminator string into another at regular
-- intervals, and terminate the input with it.
--
-- Examples:
--
-- <pre>
-- joinWith "|" 2 "----" = "--|--|"
-- </pre>
--
-- <pre>
-- joinWith "\r\n" 3 "foobarbaz" = "foo\r\nbar\r\nbaz\r\n"
-- joinWith "x" 3 "fo" = "fox"
-- </pre>
joinWith :: ByteString -> Int -> ByteString -> ByteString
-- | Fast and efficient encoding and decoding of base64-encoded lazy
-- bytestrings.
module Data.ByteString.Base64.Lazy
-- | Encode a string into base64 form. The result will always be a multiple
-- of 4 bytes in length.
encode :: ByteString -> ByteString
-- | Decode a base64-encoded string. This function strictly follows the
-- specification in RFC 4648,
-- <a>http://www.apps.ietf.org/rfc/rfc4648.html</a>.
decode :: ByteString -> Either String ByteString
-- | Decode a base64-encoded string. This function is lenient in following
-- the specification from RFC 4648,
-- <a>http://www.apps.ietf.org/rfc/rfc4648.html</a>, and will not
-- generate parse errors no matter how poor its input.
decodeLenient :: ByteString -> ByteString
|