Top Fields Constructors Methods
org.eclipse.swt.internal.image

pack-priv Class PngIdatChunk

extends PngChunk
Class Inheritance
Imports
org.eclipse.swt.*

Field Summary

Modifier and TypeField and Description
pack-priv static final int
pack-priv static final int
pack-priv static final int
pack-priv static final int
pack-priv static final int
Inherited from org.eclipse.swt.internal.image.PngChunk:
CHUNK_IDATCHUNK_IENDCHUNK_IHDRCHUNK_PLTECHUNK_tRNSCHUNK_UNKNOWNCRC_TABLEDATA_OFFSETlengthLENGTH_FIELD_LENGTHLENGTH_OFFSETMIN_LENGTHreferenceTYPE_FIELD_LENGTHTYPE_IDATTYPE_IENDTYPE_IHDRTYPE_OFFSETTYPE_PLTETYPE_tRNS

Constructor Summary

AccessConstructor and Description
pack-priv
PngIdatChunk(byte headerByte1, byte headerByte2, byte[] data, int adler)

pack-priv
PngIdatChunk(byte[] reference)

Method Summary

Modifier and TypeMethod and Description
pack-priv int
pack-priv byte
getDataByteAtOffset(int offset)

pack-priv void
validate(PngFileReadState readState, PngIhdrChunk headerChunk)

Overrides org.eclipse.swt.internal.image.PngChunk.validate.

Answer whether the chunk is a valid IDAT chunk.
Inherited from org.eclipse.swt.internal.image.PngChunk:
checkCRCcomputeCRCcontributeToStringgetCRCgetDatagetInt16getInt32getLengthgetReferencegetSizegetTypeBytesisCriticalreadNextFromStreamsetCRCsetDatasetInt16setInt32setLengthsetReferencesetTypetoStringtypeMatchesArray

Field Detail

ADLER_DATA_OFFSETback to summary
pack-priv static final int ADLER_DATA_OFFSET
ADLER_FIELD_LENGTHback to summary
pack-priv static final int ADLER_FIELD_LENGTH
HEADER_BYTE1_DATA_OFFSETback to summary
pack-priv static final int HEADER_BYTE1_DATA_OFFSET
HEADER_BYTE2_DATA_OFFSETback to summary
pack-priv static final int HEADER_BYTE2_DATA_OFFSET
HEADER_BYTES_LENGTHback to summary
pack-priv static final int HEADER_BYTES_LENGTH

Constructor Detail

PngIdatChunkback to summary
pack-priv PngIdatChunk(byte headerByte1, byte headerByte2, byte[] data, int adler)
PngIdatChunkback to summary
pack-priv PngIdatChunk(byte[] reference)

Method Detail

getChunkTypeback to summary
pack-priv int getChunkType()

Overrides org.eclipse.swt.internal.image.PngChunk.getChunkType.

Annotations
@Override
getDataByteAtOffsetback to summary
pack-priv byte getDataByteAtOffset(int offset)
validateback to summary
pack-priv void validate(PngFileReadState readState, PngIhdrChunk headerChunk)

Overrides org.eclipse.swt.internal.image.PngChunk.validate.

Answer whether the chunk is a valid IDAT chunk.

Annotations
@Override