> what happens when the packet length of the last packet is exactly maxPacketSize? Is that possible?

No, a packet length of `maxPacketSize` marks a split packet