StructInfo Constructor

Create instance of StructInfo.

Definition

Namespace: Vajhoej.Record
Assembly: Record (in Record.dll) Version: 0.0.0.0
C#
public StructInfo(
	Endian endianess,
	Alignment alignment,
	bool endpad,
	IList<FieldInfo> fields,
	Type clz
)

Parameters

endianess  Endian
Byte order for all fields.
alignment  Alignment
Alignment for all fields.
endpad  Boolean
Pad at end.
fields  IListFieldInfo
Array of FieldInfo describing all fields.
clz  Type
Class implementing struct.

Exceptions

RecordExceptionIf error calculation length information.

See Also