Codecs.ChainA module containing functions to encode/decode an array chunk using a predefined set of codecs.
create s c returns a type representing a chain of codecs defined by chain c and chunk shape s.
encode t x computes the encoded byte string representation of array chunk x.
val decode : t -> 'a array_repr -> string -> 'a Ndarray.tdecode t repr x decodes the byte string x using codec chain t and decoded representation type repr.
val of_yojson : int list -> Yojson.Safe.t -> (t, string) Stdlib.resultof_yojson x returns a code chain of type t from its json object representation.
val to_yojson : t -> Yojson.Safe.tto_yojson x returns a json object representation of codec chain x.