PayloadAddHeader Method

Adds header containing the marker to the payload in the buffer for "Payload-Aware" transmission.

Definition

Namespace: Gemstone.Communication
Assembly: Gemstone.Communication (in Gemstone.Communication.dll) Version: 1.0.169 -- Release Build+ac7d9b6b95c90919e0d9e684462efdeb467e30f6
public static void AddHeader(
	ref byte[] buffer,
	ref int offset,
	ref int length,
	byte[] marker,
	EndianOrder endianOrder
)

Parameters

buffer  Byte
The buffer containing the payload.
offset  Int32
The offset in the buffer at which the payload starts.
length  Int32
The length of the payload in the buffer starting at the offset.
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 encoding.

See Also