Fished the decoding/encoding of data packet