package pb

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t =
  1. | Varint
    (*

    (0) Used for int32, int64, uint32, uint64, sint32, sint64, bool, enum

    *)
  2. | Sixty_four
    (*

    (1) Used for fixed64, sfixed64, double

    *)
  3. | Length_delimited
    (*

    (2) Used for string, bytes, embedded messages, packed repeated fields

    *)
  4. | Start_group
    (*

    (3) Used for groups (deprecated)

    *)
  5. | End_group
    (*

    (4) Used for groups (deprecated)

    *)
  6. | Thirty_two
    (*

    (5) Used for fixed32, sfixed32, float

    *)
val of_int : int -> t
val to_int : t -> int
val to_string : t -> string
val compare : t -> t -> int
val pp : Format.formatter -> t -> unit
OCaml

Innovation. Community. Security.