summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/uic/barcode/asn1/uper/Decoder.java
blob: 947a7525069f19c8aaf59e5bd6d29cb2ad241f7b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
package org.uic.barcode.asn1.uper;

import java.lang.annotation.Annotation;
import java.lang.reflect.Field;

public interface Decoder {
    <T> boolean canDecode(Class<T> classOfT, Annotation[] extraAnnotations);
    <T> T decode(BitBuffer bitbuffer, Class<T> classOfT,Field f, Annotation[] extraAnnotations);
    <T> T getDefault(Class<T> classOfT, Annotation[] extraAnnotations);
}