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
Fields Modifier and Type Field Description private static long[]
crc_table
private static boolean
crc_table_computed
private byte[]
type
-
Constructor Summary
Constructors Constructor Description CRCedChunk(byte[] type)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description private static long
crc(java.nio.ByteBuffer buf)
byte[]
getChunkPayload()
abstract byte[]
getContentPayload()
private static void
make_crc_table()
private static long
update_crc(long crc, java.nio.ByteBuffer buf)
-
-
-
Method Detail
-
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
private static long update_crc(long crc, java.nio.ByteBuffer buf)
-
crc
private static long crc(java.nio.ByteBuffer buf)
-
-