package core_profiler

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type _ t =
  1. | New_single : [ `New_single ] t
  2. | New_group : [ `New_group ] t
  3. | New_group_point : [ `New_group_point ] t
  4. | End_of_header : [ `End_of_header ] t
  5. | Epoch : [ `Epoch ] t
  6. | Need_more_data : [ `Error ] t
  7. | Invalid_message_type_or_subtype : [ `Error ] t
  8. | Message_length_too_short : [ `Error ] t
val sexp_of_t : ('a__001_ -> Sexplib0.Sexp.t) -> 'a__001_ t -> Sexplib0.Sexp.t
type packed =
  1. | T : _ t -> packed

all_of_packed does not include the error cases.

val sexp_of_packed : packed -> Sexplib0.Sexp.t
val all_of_packed : packed list
module Packed : sig ... end
val to_wire_exn : _ t -> char
val of_wire : char -> packed
val to_index_exn : _ t -> int

to,of_index_exn provide dense packed integers starting from 0, suitable for indexing into an array.

val of_index_exn : int -> packed
val max_index : int