Mavryk_store_shared.Block_level
Block level satisfying Index.Key interface.
Index
type t = int32
The type for block levels
val t : t Repr.t
val equal : t -> t -> bool
Equality
val hash : t -> int
hash level returns the hash of the level.
hash level
level
val hash_size : int
hash_size is the constant size (in number of bits) of the hashed value of the type t.
hash_size
t
val encoded_size : int
encoded_size is the constant size (in number of bytes) of the encoded value.
encoded_size
val encode : t -> string
Encoder
val decode : string -> int -> t
Decoder
val pp : Stdlib.Format.formatter -> t -> unit
Pretty-printer