public class StructDescription extends Object
Virtual
, Array
, Bits
, Field
, Alignment
and Struct
Constructor and Description |
---|
StructDescription(Class<?> structClass,
Type structType,
StructCustomizer customizer) |
Modifier and Type | Method and Description |
---|---|
void |
appendBytes(long bytes) |
String |
describe() |
String |
describe(StructObject struct) |
List<StructFieldDescription> |
getAggregatedFields() |
org.bridj.SolidRanges |
getSolidRanges() |
long |
getStructAlignment() |
Class<?> |
getStructClass() |
long |
getStructSize() |
Type |
getStructType() |
void |
prependBytes(long bytes) |
void |
setAggregatedFields(List<StructFieldDescription> aggregatedFields) |
void |
setFieldOffset(String fieldName,
long fieldOffset,
boolean propagateChanges) |
String |
toString() |
public StructDescription(Class<?> structClass, Type structType, StructCustomizer customizer)
public void prependBytes(long bytes)
public void appendBytes(long bytes)
public void setFieldOffset(String fieldName, long fieldOffset, boolean propagateChanges)
public Class<?> getStructClass()
public Type getStructType()
public final long getStructSize()
public final long getStructAlignment()
public void setAggregatedFields(List<StructFieldDescription> aggregatedFields)
public List<StructFieldDescription> getAggregatedFields()
public org.bridj.SolidRanges getSolidRanges()
public final String describe(StructObject struct)
Copyright © 2009-2020. All Rights Reserved.