PayloadHasHeader Method
Determines whether or not the buffer contains the header information of a "Payload-Aware" transmission.
Namespace: Gemstone.CommunicationAssembly: Gemstone.Communication (in Gemstone.Communication.dll) Version: 1.0.138 -- Release Build+186144cc77f460103feb64173195896fdb13e4b3
public static bool HasHeader(
byte[] buffer,
byte[] marker
)
Public Shared Function HasHeader (
buffer As Byte(),
marker As Byte()
) As Boolean
Gemstone.Communication.Payload.HasHeader = function(buffer, marker);
- 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.
Booleantrue if the buffer contains "Payload-Aware" transmission header; otherwise false.