|
PayloadHasHeader Method
|
Determines whether or not the buffer contains the header information of a "Payload-Aware" transmission.
Namespace: GSF.CommunicationAssembly: GSF.Communication (in GSF.Communication.dll) Version: 2.4.207-beta
Syntax public static bool HasHeader(
byte[] buffer,
byte[] marker
)
Public Shared Function HasHeader (
buffer As Byte(),
marker As Byte()
) As Boolean
static member HasHeader :
buffer : byte[] *
marker : byte[] -> bool
GSF.Communication.Payload.HasHeader = function(buffer, marker);
View SourceParameters
- buffer Byte
- The buffer to be checked at index zero.
- marker Byte
- The byte sequence used to mark the beginning of the payload in a "Payload-Aware" transmissions.
Return Value
Booleantrue if the buffer contains "Payload-Aware" transmission header; otherwise false.
See Also