  | PacketCopyTo Method | 
            Copies the packet's data to the specified buffer.
            
Namespace: Ookii.Jumbo.DfsAssembly: Ookii.Jumbo.Dfs (in Ookii.Jumbo.Dfs.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntaxpublic int CopyTo(
	int sourceOffset,
	byte[] buffer,
	int destinationOffset,
	int count
)
Public Function CopyTo ( 
	sourceOffset As Integer,
	buffer As Byte(),
	destinationOffset As Integer,
	count As Integer
) As Integer
public:
int CopyTo(
	int sourceOffset, 
	array<unsigned char>^ buffer, 
	int destinationOffset, 
	int count
)
member CopyTo : 
        sourceOffset : int * 
        buffer : byte[] * 
        destinationOffset : int * 
        count : int -> int 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
Int32The actual number of bytes written into the buffer.
See Also