package ocaml-protoc

  1. Overview
  2. Docs
A Protobuf Compiler for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

0.1.1.2.tar.gz
sha256=806975aa0d1d3123f19c08ed9c42d73cb7a06278d0bd5415eecc3d9af86d7e41
md5=e86800b09eeb978a3234fc91385cc690

doc/pbrt/Pbrt/Decoder/index.html

Module Pbrt.Decoder

type t = Protobuf.Decoder.t
val of_bytes : bytes -> Protobuf.Decoder.t
val key : Protobuf.Decoder.t -> (int * Protobuf.payload_kind) option
val skip : Protobuf.Decoder.t -> Protobuf.payload_kind -> unit
val nested : Protobuf.Decoder.t -> Protobuf.Decoder.t
val empty_nested : Protobuf.Decoder.t -> unit
val packed_fold : ('a -> Protobuf.Decoder.t -> 'a) -> 'a -> Protobuf.Decoder.t -> 'a
val int_as_varint : Protobuf.Decoder.t -> int
val int_as_zigzag : Protobuf.Decoder.t -> int
val int32_as_varint : Protobuf.Decoder.t -> int32
val int32_as_zigzag : Protobuf.Decoder.t -> int32
val int64_as_varint : Protobuf.Decoder.t -> int64
val int64_as_zigzag : Protobuf.Decoder.t -> int64
val int32_as_bits32 : Protobuf.Decoder.t -> int32
val int64_as_bits64 : Protobuf.Decoder.t -> int64
val bool : Protobuf.Decoder.t -> bool
val float_as_bits32 : Protobuf.Decoder.t -> float
val float_as_bits64 : Protobuf.Decoder.t -> float
val int_as_bits32 : Protobuf.Decoder.t -> int
val int_as_bits64 : Protobuf.Decoder.t -> int
val string : Protobuf.Decoder.t -> string
val bytes : Protobuf.Decoder.t -> bytes
OCaml

Innovation. Community. Security.