ReedSolomonDecoder
Contents
[
Hide
]
Inheritance: java.lang.Object
public class ReedSolomonDecoder
Constructors
| Constructor | Description |
|---|---|
| ReedSolomonDecoder(GaloisField field) |
Methods
| Method | Description |
|---|---|
| correct(int[] received, int eccCount) | |
| correctWithSyndromeRecheck(int[] received, int eccCorrectionCount, int eccCheckCount) | Corrects input array by Reed Solomon correction with checking on the fake correction. |
| equals(Object arg0) | |
| getClass() | |
| hashCode() | |
| notify() | |
| notifyAll() | |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
ReedSolomonDecoder(GaloisField field)
public ReedSolomonDecoder(GaloisField field)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| field | GaloisField |
correct(int[] received, int eccCount)
public int[] correct(int[] received, int eccCount)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| received | int[] | |
| eccCount | int |
Returns: int[]
correctWithSyndromeRecheck(int[] received, int eccCorrectionCount, int eccCheckCount)
public int[] correctWithSyndromeRecheck(int[] received, int eccCorrectionCount, int eccCheckCount)
Corrects input array by Reed Solomon correction with checking on the fake correction. For 2/4 correction codewords it is needed to use (full correction bytes) - 2 for eccCorrectionCount and (full correction bytes) for eccCheckCount. For correction codewords which is more then 4 it is possible to use full full correction bytes, probability of false detection(fake) is low.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| received | int[] | Array to correct |
| eccCorrectionCount | int | count of correction bytes which is used for correction. Common value is (full correction bytes) - 2 |
| eccCheckCount | int | count of correction bytes which is used for checking fakes. Common value is (full correction bytes) |
Returns: int[] - corrected array
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class>
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long | |
| arg1 | int |