plebeia
Plebeia.Value
3 Core
plebeia.msync
plebeia.test_utils
type t
Type of a value.
val encoding : t Data_encoding.t
Encoding
<- 4 bytes -> <--- len bytes ---> +----------------+-------------------+ |len (big endian)| value as string | +----------------+-------------------+
val of_string : string -> t
val to_string : t -> string
val of_bytes : bytes -> t
val to_bytes : t -> bytes
conversions between binary bytes
val to_hex : t -> Hex.t
val to_hex_string : t -> string
val length : t -> int
length in bytes
val pp : Format.formatter -> t -> unit