Unosquare
    Show / Hide Table of Contents

    Class StructEndiannessAttribute

    An attribute used to help conversion structs back and forth into arrays of bytes via extension methods included in this library ToStruct and ToBytes.

    Inheritance
    Object
    StructEndiannessAttribute
    Namespace: Swan
    Syntax
    public class StructEndiannessAttribute : Attribute

    Constructors

    StructEndiannessAttribute(Endianness)

    Initializes a new instance of the StructEndiannessAttribute class.

    Declaration
    public StructEndiannessAttribute(Endianness endianness)
    Parameters
    Type Name Description
    Endianness endianness

    The endianness.

    Properties

    Endianness

    Gets the endianness.

    Declaration
    public Endianness Endianness { get; }
    Property Value
    Type Description
    Endianness

    The endianness.

    Comments

    Back to top Copyright © 2017-2019 Unosquare