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

Conflicts

None