Module Bin_prot.Nat0Source

Nat0: natural numbers (including zero)

Sourcetype t = private int
Sourceval of_int : int -> t

of_int n converts integer n to a natural number.

Sourceval unsafe_of_int : int -> t