package varint

  1. Overview
  2. Docs
module type VarIntEncoding = sig ... end
module VarInt32 : VarIntEncoding with type t = int32

Encoder for Int32 *

module VarInt64 : VarIntEncoding with type t = int64

Encoder for Int64

module LengthFieldPrefixing (VI : VarIntEncoding) : sig ... end

A module for length field prefixing with VarInts *

OCaml

Innovation. Community. Security.