I have some packets as bytes and want to analyse them. I also want to generate them as bytes. Currently it is done within the classes for sockets, but they are tied to network functions.
It is proposed to move the parsing and serialization code into .models and add the 2 methods, __bytes__ and from_bytes.