Reed-Solomon error correction over GF(2^8)
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ocaml-reed-solomon: strip stale Json.Error.to_string from docstring example

+1 -1
+1 -1
lib/reed_solomon.mli
··· 19 19 Bytes.set codeword 42 '\xab'; 20 20 match Reed_solomon.decode ccsds codeword with 21 21 | Ok recovered -> assert (recovered = padded) 22 - | Error e -> Printf.eprintf "decode failed: %s\n" e 22 + | Error e -> Fmt.epr "decode failed: %a\n" Reed_solomon.pp_error e 23 23 ]} 24 24 25 25 {2 References}