package passmaker

  1. Overview
  2. Docs
type of_string_error = [
  1. | `Invalid32
  2. | `Invalid64
  3. | `Invalid_length of int
]
type of_bytes_error = [
  1. | `Invalid_length of int
]
include EXTERNAL with type of_string_error := of_string_error
type t
val of_internal : Internal.t -> t
val to_internal : t -> Internal.t
val of_string : string -> (t, of_string_error) result
val to_string : t -> string
val of_bytes : bytes -> (t, of_bytes_error) result
val to_bytes : t -> bytes