package sonet

  1. Overview
  2. Docs
type error =
  1. | Invalid_endian
  2. | Unknown_msg_type of int
  3. | Unexpected_header_type of Dbus_message.header * Dbus_type.t * Dbus_type.t
  4. | Missing_signature_header_for_payload
  5. | Missing_required_header of Dbus_message.msg_type * Dbus_message.header
val error_message : error -> string
exception Parse_error of error
type state
val init_state : unit -> state
type parse_result =
  1. | Parse_incomplete of state
  2. | Parse_result of Dbus_message.t * int
val parse_substring : state -> string -> int -> int -> parse_result
val enable_debug_log : unit -> unit
val disable_debug_log : unit -> unit
val enable_data_trace : unit -> unit
val disable_data_trace : unit -> unit
OCaml

Innovation. Community. Security.