hex

Library providing hexadecimal converters
README


# #require "hex";;
# Hex.of_string "Hello world!";;
- : Hex.t = `Hex "48656c6c6f20776f726c6421"
# Hex.to_string (`Hex "deadbeef");;
- : string = "ޭ"
# Hex.hexdump (Hex.of_string "Hello world!\n")
00000000: 4865 6c6c 6f20 776f 726c 6421 0a         Hello world!.
- : unit = ()
Install
Published
07 Apr 2022
Sources
hex-1.5.0.tbz
sha256=2e67eeca1b03049307a30831b5cd694bcb2d3e7f2a6b4fb597fbdb647351b4dc
sha512=baa09b47a90f0a54ad2becfb272f0674219e4fc0c03559deff26aaf13ccd59258b31bf98e56c44a5a8fa03437e3eba2bf5f0cd76e52d184d26cfb1170c490462
Dependencies
cstruct
>= "1.7.0"
dune
>= "1.0"
ocaml
>= "4.08.0"
Reverse Dependencies