summaryrefslogtreecommitdiffstats
path: root/src/net/gcdc/asn1/uper/Decoder.java
blob: 36a7bbe0861e5e162e5ab3d4e2c221ac597f3f9f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
package net.gcdc.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);
}