Click or drag to resize

PacketCopyTo Method

Copies the packet's data to the specified buffer.

Namespace: Ookii.Jumbo.Dfs
Assembly: Ookii.Jumbo.Dfs (in Ookii.Jumbo.Dfs.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntax
public int CopyTo(
	int sourceOffset,
	byte[] buffer,
	int destinationOffset,
	int count
)

Parameters

sourceOffset  Int32
The offset in the packet to start copying the data from.
buffer  Byte
The buffer to copy the data to.
destinationOffset  Int32
The offset in buffer to start writing the data to.
count  Int32
The maximum number of bytes to copy into the buffer.

Return Value

Int32
The actual number of bytes written into the buffer.
See Also