namespace InnovEnergy.Lib.Protocols.Modbus.Conversions; /// /// NOTE: the endianness of a single modbus register on the wire is always big endian, as per spec. /// However the endianness of compound values (Int32, float, etc.) is not specified in the spec. /// Usually the endianness of compound values is little endian. /// So big endian within registers and little endian for compound registers, sigh... /// public enum Endianness { LittleEndian, BigEndian, }