tangled
alpha
login
or
join now
anil.recoil.org
/
ocaml-crockford
0
fork
atom
OCaml library for Crockford's Base32
0
fork
atom
overview
issues
pulls
pipelines
license headers
anil.recoil.org
4 months ago
763aecc5
0eab7b22
+10
2 changed files
expand all
collapse all
unified
split
lib
crockford.ml
crockford.mli
+5
lib/crockford.ml
reviewed
···
1
1
+
(*---------------------------------------------------------------------------
2
2
+
Copyright (c) 2025 Anil Madhavapeddy. All rights reserved.
3
3
+
SPDX-License-Identifier: MIT
4
4
+
---------------------------------------------------------------------------*)
5
5
+
1
6
type invalid_length = { length: int; message: string }
2
7
type invalid_character = { char: char; message: string }
3
8
type invalid_checksum = { checksum: string; message: string }
+5
lib/crockford.mli
reviewed
···
1
1
+
(*---------------------------------------------------------------------------
2
2
+
Copyright (c) 2025 Anil Madhavapeddy. All rights reserved.
3
3
+
SPDX-License-Identifier: MIT
4
4
+
---------------------------------------------------------------------------*)
5
5
+
1
6
(** Crockford Base32 encoding for OCaml *)
2
7
3
8
(** {1 Error Types} *)