Output crc32 in hex

This commit is contained in:
Kai Bolay 2024-11-22 08:31:55 -05:00 committed by GitHub
parent 7dd38f2d95
commit 15358c6cdd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -127,7 +127,7 @@ public class PNGChunk implements StructConverter {
buff.append("Length: 0x" + Integer.toHexString(length) + "\n");
buff.append("Chunk ID: " + getIDString() + "\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();
}