package base64

  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.

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 (59)

  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. hvsock >= "2.0.0"
  34. irmin >= "2.0.0" & < "2.3.0"
  35. irmin-indexeddb >= "2.0"
  36. jose < "0.8.1"
  37. kittyimg
  38. learn-ocaml
  39. learn-ocaml-client
  40. links >= "0.9"
  41. monorobot
  42. multipart_form
  43. opam-client >= "2.1.4" & < "2.2.0~alpha"
  44. opium_kernel = "0.17.1"
  45. otoggl
  46. otr >= "0.3.7" & < "0.3.9"
  47. ozulip
  48. pbrt_yojson
  49. pgx_async >= "1.0"
  50. pgx_lwt_unix
  51. pgx_unix >= "1.0"
  52. plotkicadsch >= "0.5.0"
  53. prettym
  54. repr
  55. sendmail >= "0.2.0"
  56. soupault >= "2.3.0"
  57. spoke
  58. vercel
  59. websocketaf

Conflicts

None