Packet.canRead

Test the validity of a packet, for reading

This function allows to test the packet, to check if a reading operation was successful.

A packet will be in an invalid state if it has no more data to read.

class Packet
const
bool
canRead
()

Return Value

Type: bool

True if last data extraction from packet was successful.

Meta