Class CRCedChunk

java.lang.Object
com.biglybt.core.util.png.Chunk
com.biglybt.core.util.png.CRCedChunk
Direct Known Subclasses:
IDATChunk, IENDChunk, IHDRChunk

public abstract class CRCedChunk extends Chunk
  • 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

  • Method Details

    • getChunkPayload

      public byte[] getChunkPayload()
      Specified by:
      getChunkPayload in class Chunk
    • getContentPayload

      public abstract byte[] getContentPayload()
    • make_crc_table

      private static void make_crc_table()
    • update_crc

      private static long update_crc(long crc, ByteBuffer buf)
    • crc

      private static long crc(ByteBuffer buf)