Merge branch 'GP-0_ryanmkurtz_PR-7213_kaibolay_crc32-hex'

This commit is contained in:
Ryan Kurtz 2024-11-22 13:03:53 -05:00
commit 2333ab6111

View File

@ -127,7 +127,7 @@ public class PNGChunk implements StructConverter {
buff.append("Length: 0x" + Integer.toHexString(length) + "\n"); buff.append("Length: 0x" + Integer.toHexString(length) + "\n");
buff.append("Chunk ID: " + getIDString() + "\n"); buff.append("Chunk ID: " + getIDString() + "\n");
buff.append("Chunk Data:" + new String(data) + "\n"); buff.append("Chunk Data:" + new String(data) + "\n");
buff.append("CRC32: 0x" + crc32 + "\n"); buff.append("CRC32: 0x" + Integer.toHexString(crc32) + "\n");
return buff.toString(); return buff.toString();
} }