Class UDPPacketReader

java.lang.Object
net.i2p.router.transport.udp.UDPPacketReader

class UDPPacketReader
extends Object
To read a packet, initialize this reader with the data and fetch out the appropriate fields. If the interesting bits are in message specific elements, grab the appropriate subreader. Many of the methods here and in the subclasses will throw AIOOBE on malformed packets, that should be caught also.