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: 2.0.0
Syntax
public int CopyTo(
	int sourceOffset,
	byte[] buffer,
	int destinationOffset,
	int count
)

Parameters

sourceOffset
Type: SystemInt32
The offset in the packet to start copying the data from.
buffer
Type: SystemByte
The buffer to copy the data to.
destinationOffset
Type: SystemInt32
The offset in buffer to start writing the data to.
count
Type: SystemInt32
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