Only writing the length of the packet