package piqilib

  1. Overview
  2. Docs
module C = Piqi_common
module W = Piqi_protobuf
val is_external_mode : bool ref
val refer : 'a -> unit
val reference : ('a -> 'b -> 'c) -> 'a -> 'b -> 'c
val gen_packed_int : ?wire_type:W.C.T.protobuf_wire_type -> int64 -> C.Piqirun.OBuf.t
val gen_packed_float : ?wire_type:W.C.T.protobuf_wire_type -> float -> C.Piqirun.OBuf.t
val gen_packed_bool : bool -> C.Piqirun.OBuf.t
val gen_int : ?wire_type:W.C.T.protobuf_wire_type -> int -> int64 -> C.Piqirun.OBuf.t
val gen_float : ?wire_type:W.C.T.protobuf_wire_type -> int -> float -> C.Piqirun.OBuf.t
val gen_bool : int -> bool -> C.Piqirun.OBuf.t
val gen_string : int -> string -> C.Piqirun.OBuf.t
val compare_field_type : C.T.Field.t -> C.T.Field.t -> int
val compare_field : Piqobj_common.F.t -> Piqobj_common.F.t -> int
val order_fields : Piqobj_common.F.t list -> Piqobj_common.F.t list
val gen_obj : int -> Piqobj.obj -> C.Piqirun.OBuf.t
val gen_packed_obj : Piqobj.obj -> C.Piqirun.OBuf.t
val gen_binobj : Piqobj.obj -> string
val gen_any : int -> Piqobj.any -> C.Piqirun.OBuf.t
val gen_record : int -> Piqobj.record -> C.Piqirun.OBuf.t
val gen_fields : Piqobj_common.F.t list -> C.Piqirun.OBuf.t list
val is_packed_field : Piqobj_common.F.t -> bool
val group_gen_fields : Piqobj_common.F.t list -> C.Piqirun.OBuf.t list
val gen_packed_fields : Piqobj_common.F.t -> Piqobj_common.F.t list -> C.Piqirun.OBuf.t * Piqobj_common.F.t list
val gen_packed_field : Piqobj_common.F.t -> C.Piqirun.OBuf.t
val gen_variant : int -> Piqobj.variant -> C.Piqirun.OBuf.t
val gen_enum : int -> Piqobj.enum -> C.Piqirun.OBuf.t
val gen_enum_option : int -> Piqobj.Piqobj.option -> C.Piqirun.OBuf.t
val gen_packed_enum : Piqobj.enum -> C.Piqirun.OBuf.t
val gen_packed_enum_option : Piqobj.Piqobj.option -> C.Piqirun.OBuf.t
val gen_list : int -> Piqobj.list -> C.Piqirun.OBuf.t
val gen_alias : ?wire_type:W.C.T.protobuf_wire_type -> int -> Piqobj.alias -> C.Piqirun.OBuf.t
val gen_packed_alias : ?wire_type:W.C.T.protobuf_wire_type -> Piqobj.alias -> C.Piqirun.OBuf.t
val resolve_wire_type : ?wire_type:W.C.T.protobuf_wire_type -> W.C.T.protobuf_wire_type option -> W.C.T.protobuf_wire_type option
OCaml

Innovation. Community. Security.