package hex

  1. Overview
  2. Docs
Minimal library providing hexadecimal converters.

Install

Dune Dependency

Authors

Maintainers

Sources

0.2.0.tar.gz
sha256=f867edc4345cd25a7d67f811a01291a6d98ea022e2e8a3af702703a837acb9ea
md5=6288a57798184fc14e48c5609ca34759

Description

#require "hex";;
# Hex.of_string "Hello world!";;
- : Hex.t = "48656c6c6f20776f726c6421"
# Hex.to_string "dead-beef";;
- : string = "ޭ��"
# Hex.hexdump (Hex.of_string "Hello world!\n")
00000000: 4865 6c6c 6f20 776f 726c 6421 0a        Hello world!.
- : unit = ()

Published: 05 May 2015

OCaml

Innovation. Community. Security.