package base64

  1. Overview
  2. Docs
Base64 encoding for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

base64-v3.0.0.tbz
sha256=3af235a137917357583abf72e845cdcb129286145db25128218ea4c67a19ea6a
md5=f94f8e73b7325bf02436293b1321e35b

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.

Published: 22 Jan 2019

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

Used by (61)

  1. async_smtp >= "v0.13.0" & < "v0.15.0"
  2. awa
  3. azblob
  4. azure-cosmos-db < "0.2.0"
  5. benchpress
  6. benchpress-server
  7. biocaml >= "0.10.0"
  8. bistro >= "0.5.0"
  9. builder
  10. caldav
  11. capnp-rpc-lwt >= "0.3.2" & < "0.5.0"
  12. capnp-rpc-mirage >= "0.3.3" & < "0.6.0"
  13. capnp-rpc-net
  14. capnp-rpc-unix >= "0.3.2"
  15. carton
  16. colombe < "0.2.0"
  17. current_web >= "0.3"
  18. decompress >= "1.1.0"
  19. dkim
  20. dns >= "1.1.1" & < "4.0.0"
  21. dns-server >= "4.6.3"
  22. dns-tsig >= "4.4.0"
  23. dnssec
  24. dream-httpaf
  25. email_message >= "v0.13.0" & < "v0.15.0"
  26. emile >= "0.4"
  27. eqaf >= "0.7"
  28. extprot >= "1.7.0"
  29. git >= "3.0.0"
  30. git-unix >= "3.0.0"
  31. graphql-cohttp >= "0.9.0"
  32. h2 >= "0.5.0"
  33. httpun-ws
  34. hvsock >= "2.0.0"
  35. irmin >= "2.0.0" & < "2.3.0"
  36. irmin-indexeddb >= "2.0"
  37. jose < "0.8.1"
  38. kittyimg
  39. learn-ocaml
  40. learn-ocaml-client
  41. links >= "0.9"
  42. monorobot
  43. multipart_form
  44. opam-client >= "2.1.4" & < "2.2.0~alpha"
  45. opium_kernel = "0.17.1"
  46. otoggl
  47. otr >= "0.3.7" & < "0.3.9"
  48. ozulip
  49. pbrt_yojson
  50. pgx_async >= "1.0"
  51. pgx_lwt_unix
  52. pgx_unix >= "1.0"
  53. plotkicadsch >= "0.5.0"
  54. prettym
  55. repr
  56. sendmail >= "0.2.0"
  57. slipshow
  58. soupault >= "2.3.0"
  59. spoke
  60. vercel
  61. websocketaf

Conflicts

None

OCaml

Innovation. Community. Security.