package codex

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

Module Units.In_bitsSource

Sizes and offsets in bits.

include Unit
Sourcetype t = private int
Sourceval compare : t -> t -> int
Sourceval of_int : int -> t
Sourceval to_int : t -> int
Sourceval (+) : t -> t -> t
Sourceval (-) : t -> t -> t
Sourceval (<=) : t -> t -> bool
Sourceval (<) : t -> t -> bool
Sourceval (>=) : t -> t -> bool
Sourceval (>) : t -> t -> bool
Sourceval zero : t
Sourceval one : t
Sourceval in_bytes : t -> In_bytes.t
Sourceval double : t -> t

Doubling the size is useful to avoid overflow errors.

Sourceval s32 : t