File: README.md

package info (click to toggle)
ocaml-ohex 0.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 96 kB
  • sloc: ml: 209; makefile: 3
file content (10 lines) | stat: -rw-r--r-- 329 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
## 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.