diff options
Diffstat (limited to 'src/net/gcdc/asn1/uper/Decoder.java')
-rw-r--r-- | src/net/gcdc/asn1/uper/Decoder.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/net/gcdc/asn1/uper/Decoder.java b/src/net/gcdc/asn1/uper/Decoder.java new file mode 100644 index 0000000..36a7bbe --- /dev/null +++ b/src/net/gcdc/asn1/uper/Decoder.java @@ -0,0 +1,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); +} |