HORIZON HASKELLDocslts/ghc-10.0.x8174fa42026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 2026-10-11

Modulebase64-bytestring-1.2.1.0Haskell2010

Data.ByteString.Base64.URL

Fast and efficient encoding and decoding of base64url-encoded strings.

  • 6 values
valueencode :: ByteString -> ByteString
#

Encode a string into base64url form. The result will always be a multiple of 4 bytes in length.

Decode a base64url-encoded string. This function is lenient in following the specification from RFC 4648, and will not generate parse errors no matter how poor its input.