 | Packet(Byte, Int32, Int64, Boolean) Constructor |
Initailizes a new instance of the
Packet class with the specified data.
Namespace: Ookii.Jumbo.DfsAssembly: Ookii.Jumbo.Dfs (in Ookii.Jumbo.Dfs.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntaxpublic Packet(
byte[] data,
int size,
long sequenceNumber,
bool isLastPacket
)
Public Sub New (
data As Byte(),
size As Integer,
sequenceNumber As Long,
isLastPacket As Boolean
)
public:
Packet(
array<unsigned char>^ data,
int size,
long long sequenceNumber,
bool isLastPacket
)
new :
data : byte[] *
size : int *
sequenceNumber : int64 *
isLastPacket : bool -> Packet
Parameters
- data Byte
- The data to store in the packet.
- size Int32
- The size of the data to store in the packet.
- sequenceNumber Int64
- The sequence number.
- isLastPacket Boolean
- if this is the last packet being sent; otherwise .
See Also