mte/unikernel/duniverse/dune_/otherlibs/stdune/src/bytes_unit.mli
2025-11-11 02:07:51 +01:00

8 lines
447 B
OCaml

(** Conversion table for decimal byte suffixes and their corresponding [Int64.t] values.
The first element of the tuple is a list of possible suffixes for the second element
of the tuple which is the value. There are some static checks done on this table
ensuring it is ordered and well-formed.*)
val conversion_table : (string list * Int64.t) list
(** [pp n] pretty-prints [n] as a decimal byte suffix. *)
val pp : Int64.t -> string