Set packet length and number. It's important that the length of packet has already been set to the final state as its length is used.
See Implementation
Set packet length and number. It's important that the length of packet has already been set to the final state as its length is used.