StreamTools ThreadSafeStream ToArray Method (Int64, Int64, Int32, Int32)NetworkComms.Net Help
Returns data from the specified portion of Stream

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

public byte[] ToArray(
	long start,
	long length,
	int numberZeroBytesPrefix = 0,
	int numberZeroBytesAppend = 0
)

Parameters

start
Type: OnlineSystem Int64
The start position of the desired bytes
length
Type: OnlineSystem Int64
The total number of desired bytes, not including the zero byte prefix and append parameters
numberZeroBytesPrefix (Optional)
Type: OnlineSystem Int32
If non zero will append N 0 value bytes to the start of the returned array
numberZeroBytesAppend (Optional)
Type: OnlineSystem Int32
If non zero will append N 0 value bytes to the end of the returned array

Return Value

Type:  OnlineByte 

[Missing <returns> documentation for "M:NetworkCommsDotNet.Tools.StreamTools.ThreadSafeStream.ToArray(System.Int64,System.Int64,System.Int32,System.Int32)"]

See Also