byte[] to packet implemented