Package com.biglybt.core.util.png
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 boolean
private byte[]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static long
crc
(ByteBuffer buf) byte[]
abstract byte[]
private static void
private static long
update_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:
getChunkPayload
in classChunk
-
getContentPayload
public abstract byte[] getContentPayload() -
make_crc_table
private static void make_crc_table() -
update_crc
-
crc
-