PacketBuilder ReadDataSection Method NetworkComms.Net Help
Copies the requested cached bytes into a single array and returns. Original data is left unchanged.

Namespace: NetworkCommsDotNet.Tools
Assembly: NetworkCommsDotNet (in NetworkCommsDotNet.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax

public MemoryStream ReadDataSection(
	int startIndex,
	int length
)

Parameters

startIndex
Type: OnlineSystem Int32
The inclusive byte index to use as the starting position.
length
Type: OnlineSystem Int32
The total number of desired bytes.

Return Value

Type: OnlineMemoryStream
The requested bytes as a single array.
See Also