package varint

  1. Overview
  2. Docs

Encoder for Int32 *

type t = int32
val to_cstruct : t -> Cstruct.t
val of_cstruct : Cstruct.t -> t
val read_varint : Mstruct.t -> t
val write_varint : Mstruct.t -> t -> unit
val to_int : t -> int
val of_int : int -> t
OCaml

Innovation. Community. Security.