diff options
Diffstat (limited to 'src/net/gcdc/asn1/uper/Encoder.java')
-rw-r--r-- | src/net/gcdc/asn1/uper/Encoder.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/net/gcdc/asn1/uper/Encoder.java b/src/net/gcdc/asn1/uper/Encoder.java new file mode 100644 index 0000000..8932d3f --- /dev/null +++ b/src/net/gcdc/asn1/uper/Encoder.java @@ -0,0 +1,8 @@ +package net.gcdc.asn1.uper; + +import java.lang.annotation.Annotation; + +public interface Encoder { + <T> boolean canEncode(T obj, Annotation[] extraAnnotations); + <T> void encode(BitBuffer bitbuffer, T obj, Annotation[] extraAnnotations) throws Asn1EncodingException; +} |