This structure represents a packet transmitted over the network. The packet can contain multiple contiguous memory segments.

C# | Visual Basic | Managed C++ |
public struct Data
Public Structure Data
public value class Data

All Members | Constructors | Methods | Properties | Fields | Events |
Icon | Member | Description |
---|---|---|
![]() | DataNew(IList<(Of Block>)) |
Construct a packet from a list of contiguous memory segments if the total number of bytes transmitted is not known.
|
![]() | DataNew(IList<(Of Block>), Int32) |
Construct a packet from a list of contiguous memory segments if the total number of bytes transmitted is known.
|
![]() | _CheckSize() |
Test the consistency of the structure metadata (for debugging).
|
![]() | Clear() |
Clear the packet metadata.
|
![]() | Equals(Object) | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) |
![]() | Finalize() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode() | Returns the hash code for this instance. (Inherited from ValueType.) |
![]() | GetType() | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Segments |
The list of contiguous memory segments to transmit.
|
![]() | Size |
The total number of bytes transmitted.
|
![]() | ToString() | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |