package base64

  1. Overview
  2. Docs
Base64 encoding for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

base64-2.2.0.tbz
sha256=7dd9ad996ae22ef343c68a371de22de373e24dcadba6d12ffbc6bdd9a50fc94f
md5=49f2bc4ae37b832c652277c0b701a02a

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.

See also documentation.

Example

Simple encoding and decoding.

utop # #require "base64";;
utop # let enc = B64.encode "OCaml rocks!";;
val enc : string = "T0NhbWwgcm9ja3Mh"
utop # let plain = B64.decode enc;;
val plain : string = "OCaml rocks!"

License

ISC

Published: 20 Jun 2017

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 = B64.encode "OCaml rocks!";;
val enc : string = "T0NhbWwgcm9ja3Mh"
utop # let plain = B64.decode enc;;
val plain : string = "OCaml rocks!"

License

ISC

Dependencies (3)

  1. jbuilder >= "1.0+beta10"
  2. base-bytes
  3. ocaml

Dev Dependencies (3)

  1. alcotest with-test & >= "0.4.0"
  2. rresult with-test
  3. bos with-test

Used by (49)

  1. async_smtp >= "v0.13.0" & < "v0.15.0"
  2. aws-s3 < "4.3.0"
  3. azblob
  4. azure-cosmos-db < "0.2.0"
  5. benchpress
  6. benchpress-server
  7. biocaml >= "0.8.0"
  8. builder
  9. bulletml
  10. capnp-rpc-lwt >= "0.2" & < "0.3.2"
  11. capnp-rpc-mirage < "0.3.2"
  12. capnp-rpc-unix >= "0.3" & < "0.3.2"
  13. coclobas
  14. cohttp >= "0.15.0" & < "2.0.0"
  15. current_web >= "0.3"
  16. datakit-ci >= "0.11.0" & < "0.12.3"
  17. dns >= "0.12.0" & < "1.1.1"
  18. elf2json
  19. email_message >= "v0.13.0" & < "v0.15.0"
  20. eqaf >= "0.7" & < "0.10"
  21. extprot >= "1.7.0"
  22. frenetic >= "3.3.0" & < "5.0.5"
  23. imap >= "1.0"
  24. irmin-indexeddb < "2.0"
  25. js_of_ocaml >= "2.6" & < "3.0"
  26. jupyter < "2.5.0"
  27. jwt
  28. jwto < "0.2.0"
  29. learn-ocaml
  30. learn-ocaml-client
  31. links
  32. macaroons
  33. ocamltter >= "4.1.0"
  34. ojs-base >= "0.3.0" & < "0.6.0"
  35. opam-client >= "2.1.4" & < "2.2.0~alpha"
  36. opium >= "0.12.0" & < "0.16.0"
  37. opium_kernel < "0.18.0"
  38. ozulip
  39. pgx < "1.0"
  40. pgx_async < "1.0"
  41. pgx_unix < "1.0"
  42. piqilib >= "0.6.12" & < "0.6.15"
  43. plotkicadsch < "0.5.0"
  44. ppx_relit
  45. prettym
  46. relit_helper
  47. slipshow
  48. vercel
  49. websocket >= "2.10" & < "2.13"

Conflicts

None

OCaml

Innovation. Community. Security.