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

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -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();
}