Click or drag to resize

Packet.CopyTo Method

Copies the packet's data to the specified buffer.

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

Parameters

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

Return Value

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