package protocol_version_header

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t =
  1. | Krb
  2. | Krb_test_mode
  3. | Rpc
include Ppx_compare_lib.Comparable.S with type t := t
val compare : t -> t -> int
include Ppx_enumerate_lib.Enumerable.S with type t := t
val all : t list
include Sexplib0.Sexpable.S with type t := t
val t_of_sexp : Sexplib0.Sexp.t -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val magic_number : t -> int
val by_magic_number : t Core.Int.Map.t
val magic_number_bin_size : int

The number of bytes in the bin_io representation of a magic_number t. All magic numbers are represented in this fixed number of bytes.

OCaml

Innovation. Community. Security.