hex

AuthorsThomas Gazagnaire and Trevor Summers Smith
LicenseISC
Homepagehttps://github.com/mirage/ocaml-hex
Issue Trackerhttps://github.com/mirage/ocaml-hex/issues
Maintainerthomas@gazagnaire.org
Dependencies
&cstruct>= 1.5.0
ocamlbuild
ocamlfind
PublishedMay 4, 2015
Source [http] https://github.com/mirage/ocaml-hex/archive/0.2.0.tar.gz
6288a57798184fc14e48c5609ca34759
StatisticsInstalled 4 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/hex/hex.0.2.0/opam

Minimal library providing hexadecimal converters.

#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 = ()