Module UnitsSource

Sourcemodule type Unit = sig ... end

To avoid confusion between sizes in bits and bytes, we use separate types.

Sourcemodule In_bits : sig ... end

Sizes and offsets in bits.

Sourcemodule In_bytes : sig ... end

Sizes and offsets in bytes.