package hex_encode

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

Module Hex_encodeSource

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

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

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

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

interpret the character as a digit in the given base

Sourceval from_hex : string -> string

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