package hex

All checked builds pass
  1. Overview
  2. Docs
Library providing hexadecimal converters

Install

dune-project
 Dependency

Authors

Maintainers

Sources

hex-1.5.0.tbz
sha256=2e67eeca1b03049307a30831b5cd694bcb2d3e7f2a6b4fb597fbdb647351b4dc
sha512=baa09b47a90f0a54ad2becfb272f0674219e4fc0c03559deff26aaf13ccd59258b31bf98e56c44a5a8fa03437e3eba2bf5f0cd76e52d184d26cfb1170c490462

Description

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

Added to opam-repository:

README

ocaml-hex -- a minimal library providing hexadecimal converters

Build Status docs

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

Dependencies (3)

  1. cstruct >= "1.7.0"
  2. dune >= "1.0"
  3. ocaml >= "4.08.0"

Dev Dependencies

None

Used by (64)

  1. albatross < "2.1.0"
  2. archetype >= "1.2.1"
  3. balancer
  4. bech32
  5. bip32
  6. bitcoinml
  7. bitflyer
  8. blake2
  9. bls12-381 >= "3.0.0"
  10. bls12-381-js >= "0.5.0"
  11. bls12-381-js-gen >= "0.5.0"
  12. bls12-381-unix >= "0.5.0"
  13. builder-web < "0.2.0"
  14. ca-certs-nss < "3.71"
  15. cactus
  16. catala >= "1.1.0"
  17. current_github >= "0.6.2"
  18. data-encoding
  19. dns-cli < "9.1.0"
  20. ezjsonm
  21. ezjsonm-lwt
  22. ezsqlite
  23. fiat-p256
  24. gemini
  25. geojsone
  26. git < "3.2.0"
  27. git-mirage < "3.16.1"
  28. github-hooks
  29. gmocoin
  30. h2
  31. hacl
  32. hacl_func
  33. hacl_x25519
  34. hpack
  35. irmin
  36. irmin-pack-tools
  37. irmin-test >= "3.6.1"
  38. irmin-tezos >= "3.6.1"
  39. json-data-encoding >= "1.0.0"
  40. key-parsers
  41. macaroons
  42. mec
  43. mirage-crypto-ec < "1.1.0"
  44. monorobot
  45. nsq >= "0.5.2"
  46. osbx
  47. otp
  48. passmaker
  49. pgocaml >= "3.0"
  50. pgx
  51. pkcs11
  52. plebeia
  53. polymarket
  54. ppx_repr
  55. rfc6287
  56. rlp
  57. secp256k1 >= "0.2.5"
  58. secp256k1-internal
  59. sentry
  60. slack
  61. solidity-common
  62. solidity-parser
  63. twostep
  64. uecc

Conflicts

None

Build status

Results of building hex with each compiler on check.ci.ocaml.org, run of against opam-repository 7cdc698. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
1.5.0 (this version) good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure