Class EndiannessAttribute
Indicates the endianness of a single field in a struct that is read or written through marshaling.
Implements
Inherited Members
Namespace: TheXDS.MCART.Attributes
Assembly: MCART.dll
Syntax
[AttributeUsage(AttributeTargets.Field)]
public class EndiannessAttribute : Attribute, IValueAttribute<Endianness>
Constructors
| Edit this page View SourceEndiannessAttribute(Endianness)
Indicates the endianness of a single field in a struct that is read or written through marshaling.
Declaration
public EndiannessAttribute(Endianness endianness)
Parameters
Type | Name | Description |
---|---|---|
Endianness | endianness | Value that indicates the field's endianness. |
See Also
MarshalWriteStruct<T>(BinaryWriter, T)
MarshalWriteStructArray<T>(BinaryWriter, T[])
Properties
| Edit this page View SourceValue
Gets the value of this attribute.
Declaration
public Endianness Value { get; }
Property Value
Type | Description |
---|---|
Endianness |
Implements
Extension Methods
See Also
MarshalWriteStruct<T>(BinaryWriter, T)
MarshalWriteStructArray<T>(BinaryWriter, T[])