UMessage Constructor
Message with buffer located in unmanaged memory
Namespace:
CAS.Lib.CommonBus.CommunicationLayerAssembly: CommServer.CommonBus (in CommServer.CommonBus.dll)
Syntax
Parameters
- length
- Type: UInt16
Length of the data buffer
- bigEndian
- Type: Boolean
If true, numerical quantity larger then a single byte is stored in the buffer with the most significant byte first. true to use a ‘big-Endian’ representation for addresses and data items. This means that when a numerical quantity larger than a single byte is transmitted, the most significant byte is sent first. So for example Register size value 16 - bits 0x1234 the first byte sent is 0x12 then 0x34 (fe. MODBUS, SBUS)