Module Codecs.Make

Parameters

module Io : Types.IO

Signature

val is_just_sharding : Chain.t -> bool

is_just_sharding t is true if the codec chain t contains only the sharding_indexed codec.

val partial_encode : Chain.t -> ((int * int option) list -> string list Io.Deferred.t) -> (?append:bool -> (int * string) list -> unit Io.Deferred.t) -> int -> 'a array_repr -> (int array * 'a) list -> unit Io.Deferred.t
val partial_decode : Chain.t -> ((int * int option) list -> string list Io.Deferred.t) -> int -> 'a array_repr -> (int * int array) list -> (int * 'a) list Io.Deferred.t