OCaml library for Crockford's Base32

license headers

+10
+5
lib/crockford.ml
··· 1 + (*--------------------------------------------------------------------------- 2 + Copyright (c) 2025 Anil Madhavapeddy. All rights reserved. 3 + SPDX-License-Identifier: MIT 4 + ---------------------------------------------------------------------------*) 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
··· 1 + (*--------------------------------------------------------------------------- 2 + Copyright (c) 2025 Anil Madhavapeddy. All rights reserved. 3 + SPDX-License-Identifier: MIT 4 + ---------------------------------------------------------------------------*) 5 + 1 6 (** Crockford Base32 encoding for OCaml *) 2 7 3 8 (** {1 Error Types} *)