package pb

  1. Overview
  2. Docs
Library for describing Protobuf messages

Install

Dune Dependency

Authors

Maintainers

Sources

pb-1.0.0.tbz
sha256=e670f11879ee5e44de396fda26ce18384093fd9d75b33727fe90db073e1e4d01
sha512=d6d5bd2991af3bb0121c6f9620510707e5b25332ff80224a1da482093ed53427b620e01294be4d52637dfedad8c30775ad228ac74a6d579d7c3a1de5887327cc

doc/pb/Pb/Wire_type/index.html

Module Pb.Wire_typeSource

Sourcetype 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

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

Innovation. Community. Security.