PROTOCOL_HEADER_DST_PORT_OFFSET, PROTOCOL_HEADER_SRC_PORT_OFFSET| Constructor and Description |
|---|
UDPDecoder() |
UDPDecoder(boolean allowfail) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decode(byte[] packetData) |
Packet |
reassemble(Packet packet,
byte[] packetData)
Decode the udp packet, supports reassembly of fragmented packets
|
public Packet reassemble(Packet packet, byte[] packetData)
reassemble in interface Decoderpacket - the packet to reassemblepacketData - bytes to decodepublic byte[] decode(byte[] packetData)
Copyright © 2019. All rights reserved.