package hex_encode

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

encode strings in hex, e.g., "abc" <--> "616263"

val to_hex : ?case:[ `Uppercase | `Lowercase ] -> string -> string

encode string: "abc" --> "616263"

val digit_char_p : ?base:int -> char -> int

interpret the character as a digit in the given base

val from_hex : string -> string

decode string: "616263" --> "abc"

OCaml

Innovation. Community. Security.