package ohex

  1. Overview
  2. Docs
Hexadecimal encoding and decoding

Install

Dune Dependency

Authors

Maintainers

Sources

v0.2.0.tar.gz
md5=77f2cbe75b9efd528a2b3478a8d4f3d4
sha512=af72a9699f81878cc7d247a92a28332a8e34f247ad6bd477f8c7ae7f2970b73c4750a31eedf8eeb43ca8d19ae3c4c4f8a9d5421a40b73eb1f1711f44b14ff3e6

Description

A library to encode and decode hexadecimal byte sequences.

Published: 18 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 (1)

  1. mirage-qubes >= "0.9.4"

Conflicts

None