package octez-libs
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=aa2f5bc99cc4ca2217c52a1af2a2cdfd3b383208cb859ca2e79ca0903396ca1d
sha512=d68bb3eb615e3dcccc845fddfc9901c95b3c6dc8e105e39522ce97637b1308a7fa7aa1d271351d5933febd7476b2819e1694f31198f1f0919681f1f9cc97cb3a
doc/octez-libs.base/Tezos_base/Bounded/index.html
Module Tezos_base.Bounded
Source
This module implements bounded (or refined) versions of data types.
Signature for an interval of (included values) with an encoding and projection functions towards the underlying ocaml datatype.
Allows to build interval of int64 integers. The encoding used is Data_encoding.int64
regardless of the actual bounds.
Allows to build interval of int32 integers. The encoding used is Data_encoding.int32
regardless of the actual bounds.
Allows to build interval of non negative int32 integers. The encoding used is Data_encoding.int32
regardless of the actual bounds.
Allows to build interval of built-in OCaml int integers. The encoding used is Data_encoding.int31
regardless of the actual bounds.
Allows to build interval of int integers representable on 2 bytes. The encoding used is Data_encoding.int16
regardless of the actual bounds.
Allows to build interval of non-negative int integers representable on 2 bytes. The encoding used is Data_encoding.uint16
regardless of the actual bounds.
Allows to build interval of non-negative int integers representable on 1 bytes. The encoding used is Data_encoding.int8
regardless of the actual bounds.
Allows to build interval of non-negative int integers representable on 1 bytes. The encoding used is Data_encoding.uint8
regardless of the actual bounds.