private static byte[] calculateCRC32(byte[] data) {
		CRC32 checksum = new CRC32();
		checksum.update(data);
		long result = checksum.getValue();
		return ByteBuffer.allocate(4).putInt((int) result).array();
	}
Calculates the crc32 based on a byte[]
@param data the byte array to calculate crc32 from
@return The crc32 result
Ghidra/Features/FileFormats/src/main/java/ghidra/file/formats/ios/png/CrushedPNGUtil.java