package plebeia

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t =
  1. | End
  2. | BudNone
  3. | BudSome
  4. | Internal
  5. | Extender of Segment.segment
  6. | Value of Value.t
  7. | Cached of int32
  8. | HashOnly of Hash.t
val encoding : int -> t Data_encoding.t

End: <1B> +----+ | 00 | +----+

BudNone: <1B> +----+ | 01 | +----+

BudSome: <1B> +----+ | 02 | +----+

Internal: <1B> +----+ | 03 | +----+

Extender: <1B> < variable > +----+------------+ | 04 | segment | +----+------------+

* See Segment.encoding for the encoding of segment

Value: <1B> < variable > +----+------------+ | 05 | value | +----+------------+

* See Value.encoding for the encoding of value

Cached:

<1B> <--- 4 bytes ----> +----+------------------+ | 06 |index (big endian)| +----+------------------+

HashOnly:

<1B> < variable > +----+------------+ | 07 | hash | +----+------------+

* See Hash.encoding for the encoding of hash

val pp : Stdlib.Format.formatter -> t -> unit
OCaml

Innovation. Community. Security.