Class BinaryEndiannessAttribute
- Namespace
- Yarhl.IO.Serialization.Attributes
- Assembly
- Yarhl.dll
Specify the endianness to serialize or deserialize a field.
[AttributeUsage(AttributeTargets.Property)]
public sealed class BinaryEndiannessAttribute : Attribute
- Inheritance
-
BinaryEndiannessAttribute
- Inherited Members
Constructors
BinaryEndiannessAttribute(EndiannessMode)
Initializes a new instance of the BinaryEndiannessAttribute class.
public BinaryEndiannessAttribute(EndiannessMode mode)
Parameters
mode
EndiannessModeEndianness mode for the property.
Properties
Mode
Gets the endianness mode.
public EndiannessMode Mode { get; }