IPacket Members
Include Protected Members
Include Inherited Members
Holds data and is used by objects that implement IDevicePacketStream to transfer data between a device agent application and a desktop computer.
The IPacket type exposes the following members.
Methods
Name
Description
Checks if the internal iterator has reached the end of the packet.
Reads a Boolean value from the object and points the internal iterator to the next data object in the packet.
Reads a byte from the object and points the internal iterator to the next data object in the packet.
Reads an array of bytes from the object and points the internal iterator to the next data object in the packet.
Reads a character from the 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 DataType enumeration value.
Reads an integer from the object and points the internal iterator to the next data object in the packet.
Reads a string from the 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.
Writes a Boolean value to the object.
Writes a byte to the object.
Writes an array of bytes to the object.
Writes a character to the object.
Writes an integer to the object.
Writes a string to the object.
Top
Properties
Name
Description
Gets the total number of data objects in the packet.
Top