package base64

  1. Overview
  2. Docs
Base64 encoding for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

base64-3.5.1.tbz
sha256=d8fedaa59bd12feae7acc08b5928dd478aac523f4ca8d240470d2500651c65ed
sha512=278bd2029800d90ed88ff59b9de723013e645523556a1667b64178d6b5058a7d6da91efffef3589c35569b5fa10ddee74c93f5a3d156b9146c8af5b7fe44aeaf

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.03.0"

Dev Dependencies (4)

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

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

Conflicts

None