Terrenus HRPT v2.2

terrenus.telemetry
Interface SignatureChecker

All Known Implementing Classes:
HRPTAuxSyncChecker, HRPTFrameSyncChecker, ShortSignatureChecker

public interface SignatureChecker

The SignatureChecker interface is for classes that implement a comparison between a series of data values and a known signature pattern.


Method Summary
 int getDifferenceCount(java.nio.ByteBuffer buf)
          Gets the number of bits different between the data and the known signature.
 

Method Detail

getDifferenceCount

int getDifferenceCount(java.nio.ByteBuffer buf)
Gets the number of bits different between the data and the known signature.

Parameters:
buf - the data buffer to check.
Returns:
the total number of bits different between data and reference. If zero, the data matches the signature.

Terrenus HRPT v2.2