Package net.i2p.router.transport.udp
Class UDPPacketReader.Reader
java.lang.Object
net.i2p.router.transport.udp.UDPPacketReader.Reader
- Direct Known Subclasses:
UDPPacketReader.DataReader
,UDPPacketReader.PeerTestReader
,UDPPacketReader.RelayIntroReader
,UDPPacketReader.RelayRequestReader
,UDPPacketReader.RelayResponseReader
,UDPPacketReader.SessionConfirmedReader
,UDPPacketReader.SessionCreatedReader
,UDPPacketReader.SessionRequestReader
- Enclosing class:
UDPPacketReader
Base
- Since:
- 0.9.24
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
Returns extended option data from the header, 0-255 bytes, or null if none.
-
Constructor Details
-
Reader
public Reader()
-
-
Method Details
-
readExtendedOptions
public byte[] readExtendedOptions()Returns extended option data from the header, 0-255 bytes, or null if none. Returned array does NOT include the length byte.- Returns:
- extended options or null if none is included
- Since:
- 0.9.24
-