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