Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用这里的 hadoop-pcap 库: hadoop-pcap-lib 但我无法提取数据包有效负载数据。我需要每个数据包的 hexdump。在 Jnetpcap 中,我可以使用packet.toHexdump(packet.size(), false, true, false);.
packet.toHexdump(packet.size(), false, true, false);
我想在这个库中使用类似的功能。在被调用中定义了一个函数net.ripe.hadoop.pcap.PcapReader.java,readPayload()但它需要参数
net.ripe.hadoop.pcap.PcapReader.java
readPayload()