package b0

  1. Overview
  2. Docs
Software construction and deployment kit

Install

Dune Dependency

Authors

Maintainers

Sources

b0-0.0.1.tbz
sha256=dba2fc571f39f3b8e87ee55c77bdec7ec6a5ddc7d99b8b20aeda848af546be04
md5=51ee1d66acc4d7f87bdceac1341b7711

doc/b00_kit/B00_base64/index.html

Module B00_base64

Base64 codec.

Codecs Base64 according to RFC 4684.

val encode : string -> string

encode s is the Base64 encoding of s.

val decode : string -> (string, int) Stdlib.result

decode s is the Base64 decode of s. In case of error the integer indicates the byte index of the error for an invalid alphabet character error or the length of the string if the string length is not a multiple of 4.

OCaml

Innovation. Community. Security.