Initial implementation of binary struct

This commit is contained in:
Ziver Koc 2016-01-28 17:34:51 +01:00
parent 95e6a2fbcf
commit 7466e02fd9
3 changed files with 108 additions and 0 deletions

View file

@ -0,0 +1,19 @@
package zutil.parser.binary;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Created by ezivkoc on 2016-01-28.
*/
public interface BinaryStruct {
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
@interface BinaryField{
int index();
int length();
}
}