|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsteg.WDHC
public class WDHC
The Class encode/decodes a byte array with the WDH-Code
Constructor Summary | |
---|---|
WDHC(int constant)
|
Method Summary | |
---|---|
byte[] |
decode(byte[] seq)
Decodes a byte array |
byte[] |
encode(byte[] seq)
Encodes a byte array |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WDHC(int constant)
Method Detail |
---|
public byte[] encode(byte[] seq)
encode
in interface CorrectionCode
seq
- the byte array to encode
public byte[] decode(byte[] seq)
decode
in interface CorrectionCode
seq
- the byte array to decode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |