package containers

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Containers_leb128.Encode

val encode_zigzag : int64 -> int64

Turn a signed int64 into a u64 via zigzag encoding.

val u64 : Byte_buffer.t -> int64 -> unit

Write a unsigned int

val i64 : Byte_buffer.t -> int64 -> unit

Write a signed int via zigzag encoding

val uint : Byte_buffer.t -> int -> unit

Turn an uint into a u64 and write it

val int : Byte_buffer.t -> int -> unit

Turn an int into a int64 and write it