}
byte[] bytes = args[0].getBytes("UTF-8");
System.out.println("To encode:\t" + args[0]);
BCHEncoder encoder = new BCHEncoder(BCHCode.BCH_255_131);
long start = System.currentTimeMillis();
byte[] encoded = encoder.encode(bytes);
long stop = System.currentTimeMillis();
System.out.println("Encoding:\t" + (stop - start) + " [ms]");
//Transmisja z 18 bledamiw