Packet.endOfPacket

Tell if the reading position has reached the end of the packet.

This function is useful to know if there is some data left to be read, without actually reading it.

class Packet
const
bool
endOfPacket
()

Return Value

Type: bool

true if all data was read, false otherwise.

Meta