package hex

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

Install

Dune Dependency

Authors

Maintainers

Sources

1.0.0.tar.gz
sha256=5b1c903005fa7986dce01f2cc96e59e640a4f63aaf9bed4ced62bb871678c368
md5=e8af07c37b54076dc33a86e203b0c0d3

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: 13 Oct 2015

OCaml

Innovation. Community. Security.