Since the package size is known in advance, there is no need to read each part (header, data and checksum) separately.