package piqilib

  1. Overview
  2. Docs
module C = Piqi_common
val default_wire_type : C.T.piqtype -> [> `block | `fixed64 | `varint | `zigzag_varint ]
val wire_type_name : C.T.protobuf_wire_type -> string
val get_wire_type_name : C.T.piqtype -> C.T.protobuf_wire_type option -> string
val get_wire_type_width : C.T.piqtype -> C.T.protobuf_wire_type option -> int option
val invalid_max_code : int32
val incr : int32 Pervasives.ref -> unit
val add_codes_field : int32 Pervasives.ref -> C.T.Field.t -> unit
val add_codes_option : int32 Pervasives.ref -> C.T.Option.t -> unit
val add_codes_enum_option : int32 Pervasives.ref -> C.T.Option.t -> unit
val check_code : Int32.t -> unit
val check_codes : Int32.t list -> unit
val check_enum_codes : int32 list -> unit
val order_fields : C.F.t list -> C.F.t list
val add_codes_record : C.T.Record.t -> unit
val add_codes_variant : C.T.Variant.t -> unit
val add_codes_enum : C.T.Enum.t -> unit
val can_be_packed : Piqi_impl_piqi.Piqi_impl_piqi.piqtype -> bool
val check_packed_type : 'a -> Piqi_impl_piqi.Piqi_impl_piqi.piqtype option -> unit
val wire_packed_warning : 'a -> unit
val check_packed_field : C.F.t -> unit
val check_packed_list : C.L.t -> unit
val check_protobuf_wire_type : C.A.t -> unit
val process_typedef : [> `alias of C.A.t | `list of C.L.t | `record of C.R.t ] -> unit
val add_codes_def : [> `enum of C.T.Enum.t | `record of C.T.Record.t | `variant of C.T.Variant.t ] -> unit
val add_codes : C.T.typedef list -> unit
val process_typedefs : C.T.typedef list -> unit
val hashcode : string -> int
val hashcode' : string -> int32 option
val add_hashcodes_field : C.T.Field.t -> unit
val add_hashcodes_option : C.T.Option.t -> unit
val add_hashcodes_record : C.T.Record.t -> unit
val add_hashcodes_variant : C.T.Variant.t -> unit
val add_hashcodes_enum : C.T.Enum.t -> unit
val add_hashcodes_def : [> `enum of C.T.Enum.t | `record of C.T.Record.t | `variant of C.T.Variant.t ] -> unit
val add_hashcodes : C.T.typedef list -> unit
OCaml

Innovation. Community. Security.