BCHDecoder decoder = new BCHDecoder(BCHCode.BCH_255_131, true);
start = System.currentTimeMillis();
byte[] decoded;
try {
decoded = decoder.decode(encoded);
} catch (UncorrectableErrorsException ex) {
System.err.println("Uncorrectable errors found in received code words!");
return;
}
stop = System.currentTimeMillis();