package bap-byteweight

  1. Overview
  2. Docs

Interface for declaring signature database data types.

val declare : load:(bytes -> 'a) -> save:('a -> bytes) -> string -> 'a data

declare ~load ~save name declares a new mode.

The load and save functions are used to store the mode information in the signatures database.

Raises an exception if the mode name is not unique.

OCaml

Innovation. Community. Security.