Skip to content
Snippets Groups Projects
Commit 1e1388d5 authored by Pierre LALET's avatar Pierre LALET
Browse files

Implemented Phil's idea to solve issue #913.

Packets now have an attribute that caches the exact bytes of the packet
when it is captured or read from an str (.dissect()), and this cache is
used when .build() is called, if the cache still exists (e.g., is not None,
e.g., if no field value has been changed).

This should also make operations like writing to a PCAP file captured packets
much faster.

--HG--
branch : Issue #913
parent e697a8ab
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment