Class CRCedChunk
java.lang.Object
com.biglybt.core.util.png.Chunk
com.biglybt.core.util.png.CRCedChunk
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long[]private static booleanprivate byte[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static longcrc(ByteBuffer buf) byte[]abstract byte[]private static voidprivate static longupdate_crc(long crc, ByteBuffer buf)
-
Field Details
-
type
private byte[] type -
crc_table
private static final long[] crc_table -
crc_table_computed
private static boolean crc_table_computed
-
-
Constructor Details
-
CRCedChunk
- Throws:
InvalidParameterException
-
-
Method Details
-
getChunkPayload
public byte[] getChunkPayload()- Specified by:
getChunkPayloadin classChunk
-
getContentPayload
public abstract byte[] getContentPayload() -
make_crc_table
private static void make_crc_table() -
update_crc
-
crc
-