Read packet size