Interface BiometricDataBlockDecoder<B extends BiometricDataBlock>

  • Type Parameters:
    B - the type of BDB implementation that is decoded by this decoder

    public interface BiometricDataBlockDecoder<B extends BiometricDataBlock>
    Interface to be implemented by client code to decode BDB implementations.
    Since:
    0.4.7
    Version:
    $Revision: 1802 $
    Author:
    The JMRTD team ([email protected])
    • Method Detail

      • decode

        B decode​(InputStream inputStream,
                 StandardBiometricHeader sbh,
                 int index,
                 int length)
          throws IOException
        Reads a biometric data block from an input stream.
        Parameters:
        inputStream - the input stream to read from
        sbh - the standard biometric header that preceded this BDB
        index - the index of this BDB
        length - the length of this BDB
        Returns:
        a biometric data block
        Throws:
        IOException - if reading failed