package ohex

  1. Overview
  2. Docs
Hexadecimal encoding and decoding

Install

Dune Dependency

Authors

Maintainers

Sources

ohex-0.1.0.tar.gz
md5=49e29e60782df33e881dd0fd2ec17020
sha512=60f934d0a18eb8d637d97b714da0bb2afd552e83639ba71455f05c587b07f362056c3bd47ba5ae6f25faeb8c5e47a167c48bc59d0891eec3845179ea63c25621

Description

A library to encode and decode hexadecimal byte sequences.

Published: 15 Mar 2024

README

oHEX

This package with minimal dependency cone provides functionality to decode and encode strings into hexadecimal representation.

As example, Ohex.decode "4142" = "AB". And Ohex.encode "AB" = "4142".

There's even the property, for all strings s: Ohex.(decode (encode s)) = s.

A pretty-printer is provided as well.

Dependencies (2)

  1. dune >= "2.7"
  2. ocaml >= "4.08.0"

Dev Dependencies (1)

  1. alcotest with-test

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.