package base64

All checked builds pass
  1. Overview
  2. Docs
Base64 encoding for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

base64-3.5.2.tbz
sha256=b3f5ce301aa72c7032ef90be2332d72ff3962922c00ee2aec6bcade187a2f59b
sha512=82148a1fefec9493aaeac032c8d46b9548369d7fd90a57865e009a32c8a0eef950f0f8dbb52b74bb46880a590a0b49f2daa7ab4857233734aee8e383f5a164ec

Description

Base64 is a group of similar binary-to-text encoding schemes that represent binary data in an ASCII string format by translating it into a radix-64 representation. It is specified in RFC 4648.

Added to opam-repository:

README

Base64 for OCaml

Base64 is a group of similar binary-to-text encoding schemes that represent binary data in an ASCII string format by translating it into a radix-64 representation. It is specified in RFC 4648.

See also documentation.

Example

Simple encoding and decoding.

utop # #require "base64";;
utop # let enc = Base64.encode_exn "OCaml rocks!";;
val enc : string = "T0NhbWwgcm9ja3Mh"
utop # let plain = Base64.decode_exn enc;;
val plain : string = "OCaml rocks!"

License

ISC

Dependencies (2)

  1. dune >= "2.3"
  2. ocaml >= "4.07.0"

Dev Dependencies (4)

  1. alcotest with-test
  2. rresult with-test
  3. bos with-test
  4. fmt with-test & >= "0.8.7"

Optional Dependencies

None

  1. a2a-client
  2. async_smtp
  3. awa
  4. aws >= "1.2"
  5. aws-s3
  6. awskit-s3
  7. awskit-s3-sim
  8. awsm
  9. azblob
  10. azure-cosmos-db
  11. biocaml
  12. bistro
  13. bonsai >= "v0.16.0"
  14. builder
  15. cabal_workflow_runner
  16. caldav
  17. capnp-rpc-net
  18. capnp-rpc-unix
  19. carton < "1.0.0"
  20. carton-lwt < "1.0.0"
  21. chatoyant
  22. codex
  23. cohttp >= "2.4.0"
  24. cohttp_async_websocket
  25. colombe < "0.2.0"
  26. conex-mirage-crypto
  27. content_security_policy >= "v0.17.0"
  28. current_git >= "0.7.3"
  29. current_github
  30. current_web
  31. decompress >= "1.1.0"
  32. diffast-core
  33. diffast-misc
  34. dkim
  35. dns < "4.4.1" | >= "6.3.0"
  36. dns-server
  37. dns-tsig
  38. dnssec
  39. dose3 >= "6.1"
  40. dream < "1.0.0~alpha3"
  41. dream-httpaf < "1.0.0~alpha4"
  42. dream-pure
  43. email_message
  44. emile >= "0.4"
  45. eqaf >= "0.7"
  46. extism-manifest
  47. extprot >= "1.7.0"
  48. ezjs_push >= "0.2"
  49. forester >= "4.3.0"
  50. frenetic
  51. git >= "3.2.0"
  52. git-kv >= "0.2.0"
  53. git-mirage
  54. git-unix >= "3.2.0"
  55. graphql-cohttp >= "0.9.0"
  56. guardian < "0.0.5"
  57. h1 >= "1.1.0"
  58. h2 >= "0.5.0"
  59. http-lwt-client
  60. httpun-ws
  61. hugin = "1.0.0~alpha2"
  62. hvsock >= "2.0.0"
  63. irc-client >= "0.7.0"
  64. irky
  65. irky-eio
  66. irmin < "2.7.1"
  67. irmin-indexeddb
  68. jose
  69. jsonschema
  70. jupyter
  71. jws
  72. jwto >= "0.2.0"
  73. kittyimg
  74. kube
  75. ldap >= "2.5.2"
  76. learn-ocaml
  77. learn-ocaml-client
  78. letsencrypt < "2.0.0"
  79. links
  80. liquid_std
  81. melange < "0.3.1" | = "1.0.0"
  82. meldep
  83. memtrace_viewer < "v0.15.0"
  84. miaou-driver-web
  85. monorobot
  86. mrmime
  87. multibase
  88. multipart_form
  89. naboris >= "0.1.3"
  90. neodriver_eio >= "0.9.0"
  91. ocaml-ai-sdk
  92. ocaml-protoc-plugin >= "6.1.0"
  93. ojs-base
  94. ojs_filetree
  95. opam-client >= "2.1.4"
  96. opium >= "0.19.0"
  97. opium_kernel = "0.17.1"
  98. otoggl
  99. otr
  100. ozulip
  101. pbrt_yojson
  102. pgx_async
  103. pgx_lwt_unix
  104. pgx_unix
  105. piqilib >= "0.6.15"
  106. playwright
  107. plist-xml
  108. plotkicadsch
  109. polymarket
  110. prettym
  111. quill < "1.0.0~alpha3"
  112. repr
  113. rpclib
  114. sail < "0.15"
  115. sail_doc_backend
  116. sail_ocaml_backend
  117. savvy
  118. sendmail >= "0.2.0"
  119. session >= "0.5.0"
  120. sherlodoc
  121. simple_httpd
  122. slipshow
  123. smaws-lib
  124. sodium-fmt
  125. sosie
  126. soupault >= "2.3.0"
  127. spoke
  128. topup
  129. utcp
  130. vercel
  131. virtual_dom >= "v0.16.0"
  132. webauthn
  133. websocket >= "2.13"
  134. websocketaf
  135. x509 >= "0.11.2"

Conflicts

None

Build status

Results of building base64 with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
3.5.2 (this version) good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure