package base64

Build not checked
  1. Overview
  2. Docs

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 = B64.decode_exn enc;;
val plain : string = "OCaml rocks!"

License

ISC

Dependencies (3)

  1. dune >= "1.0.1"
  2. base-bytes
  3. ocaml >= "4.03.0"

Dev Dependencies (3)

  1. alcotest with-test
  2. rresult with-test
  3. bos with-test

Optional Dependencies

None

Used by (95)

  1. a2a-client
  2. async_smtp < "v0.15.0"
  3. awa
  4. aws >= "1.2"
  5. aws-s3
  6. awsm
  7. azblob
  8. azure-cosmos-db < "0.2.0"
  9. biocaml
  10. bistro
  11. builder
  12. cabal_workflow_runner
  13. caldav
  14. capnp-rpc-net
  15. capnp-rpc-unix
  16. carton < "1.0.0"
  17. chatoyant
  18. cohttp >= "2.4.0"
  19. colombe < "0.2.0"
  20. current_git >= "0.7.3"
  21. current_web
  22. decompress >= "1.1.0"
  23. diffast-core
  24. diffast-misc != "0.3.5.1"
  25. dkim
  26. dns < "4.4.1"
  27. dns-server
  28. dns-tsig
  29. dnssec
  30. dose3 >= "6.1"
  31. dream < "1.0.0~alpha3"
  32. dream-httpaf < "1.0.0~alpha4"
  33. dream-pure
  34. email_message < "v0.15.0"
  35. emile >= "0.4"
  36. eqaf >= "0.7"
  37. extprot >= "1.7.0"
  38. git >= "3.2.0"
  39. git-unix >= "3.2.0"
  40. graphql-cohttp >= "0.9.0"
  41. h2 >= "0.5.0"
  42. http-lwt-client
  43. httpun-ws
  44. hugin = "1.0.0~alpha2"
  45. hvsock >= "2.0.0"
  46. irc-client >= "0.7.0"
  47. irmin < "2.7.1"
  48. irmin-indexeddb
  49. jsonschema
  50. jwto >= "0.2.0"
  51. kittyimg
  52. kube
  53. ldap >= "2.5.2"
  54. learn-ocaml
  55. learn-ocaml-client
  56. links
  57. melange < "0.3.1" | = "1.0.0"
  58. meldep
  59. miaou-driver-web
  60. monorobot
  61. mrmime
  62. multipart_form
  63. neodriver_eio >= "0.9.0"
  64. ocaml-ai-sdk
  65. ocaml-protoc-plugin >= "6.1.0"
  66. opam-client >= "2.1.4"
  67. opium >= "0.19.0"
  68. opium_kernel = "0.17.1"
  69. otoggl
  70. otr
  71. ozulip
  72. pbrt_yojson
  73. pgx_async
  74. pgx_lwt_unix
  75. pgx_unix
  76. piqilib >= "0.6.15"
  77. playwright
  78. plotkicadsch
  79. prettym
  80. quill < "1.0.0~alpha3"
  81. repr
  82. sail < "0.15"
  83. sail_doc_backend
  84. sail_ocaml_backend
  85. sendmail >= "0.2.0"
  86. session >= "0.5.0"
  87. slipshow < "0.11.0"
  88. sosie
  89. soupault >= "2.3.0"
  90. spoke
  91. vercel
  92. webauthn
  93. websocket = "2.13"
  94. websocketaf
  95. x509 >= "0.11.2" & < "0.16.5"

Conflicts

None

Build status

Results of building base64 with each compiler on check.ci.ocaml.org, run of against opam-repository 8d8d144. 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.

This version is not in the latest run; the versions below are.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
3.5.2 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