@Retention(value=RUNTIME) public @interface StructureMember
public abstract String name
public abstract Class<?> type
enum that implements INumberEnumMemoryStructureIf the value is unsigned in C, then unsigned() should be true
and this type should be one primitive number size higher than the byte size of
the storage type. For example, an unsigned WORD is represented by int.
If the value is a bit field in C, such as a "Flags" field, then bitfield()
should be true and this type should be the type of a single flag, and not a
collection type.
public abstract boolean unsigned
public abstract boolean bitfield
public abstract int length
type() is an
array type.Copyright © 2019–2021 HCL. All rights reserved.