package plebeia

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Plebeia.ValueSource

3 Core

3 Core

Sourcetype t

Type of a value.

Sourceval encoding : t Data_encoding.t

Encoding

<- 4 bytes -> <--- len bytes ---> +----------------+-------------------+ |len (big endian)| value as string | +----------------+-------------------+

Sourceval of_string : string -> t
Sourceval to_string : t -> string
Sourceval of_bytes : bytes -> t
Sourceval to_bytes : t -> bytes

conversions between binary bytes

Sourceval to_hex : t -> Hex.t
Sourceval to_hex_string : t -> string
Sourceval length : t -> int

length in bytes

Sourceval pp : Format.formatter -> t -> unit
OCaml

Innovation. Community. Security.