|
PayloadExtractLength Method
|
Determines the length of a payload in a "Payload-Aware" transmission from the payload header information.
Namespace: GSF.CommunicationAssembly: GSF.Communication (in GSF.Communication.dll) Version: 2.4.218-beta
Syntax GSF.Communication.Payload.ExtractLength = function(buffer, length, marker, endianOrder);
View SourceParameters
- buffer Byte
- The buffer containing payload header information starting at index zero.
- length Int32
- The length of valid data within in buffer.
- marker Byte
- The byte sequence used to mark the beginning of the payload in a "Payload-Aware" transmissions.
- endianOrder EndianOrder
- The endian order to apply to payload size decoding.
Return Value
Int32Length of the payload.
See Also