Packet Members
Include Protected Members
Include Inherited Members
Holds data and is used by the DevicePacketStream class to transfer data between a smart device and a desktop computer.
The Packet type exposes the following members.
Constructors
Name
Description
Creates an empty packet.
Top
Methods
Name
Description
Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Serves as a hash function for a particular type. (Inherited from Object.)
Gets the type of the current instance. (Inherited from Object.)
Checks if the internal iterator has reached the end of the packet.
Creates a shallow copy of the current Object. (Inherited from Object.)
Reads a Boolean value from the Packet object and points the internal iterator to the next data object in the packet.
Reads a byte from the Packet object and points the internal iterator to the next data object in the packet.
Reads an array of bytes from the Packet object and points the internal iterator to the next data object in the packet.
Reads a character from the Packet object and points the internal iterator to the next data object in the packet.
Returns the data type of the current object in the packet as a DataType enumeration value.
Reads an integer from the Packet object and points the internal iterator to the next data object in the packet.
Reads a string from the Packet object and points the internal iterator to the next data object in the packet.
Resets the packet's internal iterator to point to the first data object in the packet. The next read operation reads the first data object in the packet.
Returns a string that represents the current object. (Inherited from Object.)
Writes a Boolean value to the Packet object.
Writes a byte to the Packet object.
Writes an array of bytes to the Packet object.
Writes a character to the Packet object.
Writes an integer to the Packet object.
Writes a string to the Packet object.
Top
Properties
Name
Description
Gets the total number of data objects in the packet.
Top