packet packer, without header
handle header when encoding packets
c code typdef generator :ok_hand: