The unpac monorepo manager self-hosting as a monorepo using unpac
OCaml 95.2%
Shell 1.2%
Makefile 0.1%
Dune 0.1%
Other 3.4%
176 131 0

Clone this repository

https://tangled.org/anil.recoil.org/unpac-unpac https://tangled.org/did:plc:nhyitepp3u4u6fcfboegzcjw/unpac-unpac
git@git.recoil.org:anil.recoil.org/unpac-unpac git@git.recoil.org:did:plc:nhyitepp3u4u6fcfboegzcjw/unpac-unpac

For self-hosted knots, clone URLs may differ based on your setup.

Download tar.gz
README.md

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