package ocaml-protoc

  1. Overview
  2. Docs
val of_bytes : bytes -> Protobuf.Decoder.t
val malformed_variant : string -> 'a
val unexpected_payload : string -> Protobuf.payload_kind -> 'a
val missing_field : string -> 'a
val key : Protobuf.Decoder.t -> (int * Protobuf.payload_kind) option
val map_entry : Protobuf.Decoder.t -> decode_key:(Protobuf.Decoder.t -> 'a) -> decode_value:(Protobuf.Decoder.t -> 'b) -> 'c * 'd
val empty_nested : Protobuf.Decoder.t -> unit
val packed_fold : ('a -> Protobuf.Decoder.t -> 'b) -> 'c -> Protobuf.Decoder.t -> 'd
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