 | 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
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
- 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:
Int32The actual number of bytes written into the buffer.
See Also