Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int[] error = ErrorCorrectionEncoding.encode(encodedData, eccLength);
- int [] finalEncodedData = new int[encodedData.length + error.length];
- for (int i = 0; i < finalEncodedData.length; i++) {
- if (i < encodedData.length) {
- finalEncodedData[i] = encodedData[i];
- } else {
- finalEncodedData[i] = error[i];
- }
- }
- // TODO Implementer
- return finalEncodedData;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement