PayloadHasHeader Method

Determines whether or not the buffer contains the header information of a "Payload-Aware" transmission.

Definition

Namespace: Gemstone.Communication
Assembly: Gemstone.Communication (in Gemstone.Communication.dll) Version: 1.0.128 -- Release Build+c4e32e80ee4b39b519c6e4a0a25ff9269b8be666
public static bool HasHeader(
	byte[] buffer,
	byte[] marker
)

Parameters

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

Boolean
true if the buffer contains "Payload-Aware" transmission header; otherwise false.

See Also