package reedsolomon

  1. Overview
  2. Docs
type rsparams = {
  1. m : int;
  2. k : int;
  3. t : int;
  4. n : int;
  5. b : int;
  6. prim_poly : int;
  7. prim_elt : int;
}
type rspoly = int array
val rspoly : int -> rspoly
type rscodec = {
  1. params : rsparams;
  2. encode : rspoly -> rspoly -> unit;
  3. decode : rspoly -> rspoly -> int;
}
val init : rsparams -> rscodec
OCaml

Innovation. Community. Security.