steg
Interface CorrectionCode

All Known Implementing Classes:
HammingCode, NonCorrection, WDHC

public interface CorrectionCode


Method Summary
 byte[] decode(byte[] seq)
          Decodes a bytearray
 byte[] encode(byte[] seq)
          Encodes a bytearray
 

Method Detail

encode

byte[] encode(byte[] seq)
Encodes a bytearray

Parameters:
seq - the bytearray to encode
Returns:
the encoded bytearray

decode

byte[] decode(byte[] seq)
Decodes a bytearray

Parameters:
seq - the bytearray to decode
Returns:
the decoded bytearray