Package net.mtrop.doom.struct.io
Class PNGContainerReader.Chunk
java.lang.Object
net.mtrop.doom.struct.io.PNGContainerReader.Chunk
- Enclosing class:
- PNGContainerReader
PNG Chunk data.
-
Method Details
-
getName
- Returns:
- this chunk's identifier.
-
getCRCNumber
public int getCRCNumber()- Returns:
- this chunk's CRC value.
-
getData
public byte[] getData()- Returns:
- the data in this chunk.
-
toString
-
isAncillary
public boolean isAncillary()- Returns:
- true if this chunk is not a part of the required image chunks.
-
isPrivate
public boolean isPrivate()- Returns:
- true if this chunk is part of a non-public specification.
-
isReserved
public boolean isReserved()- Returns:
- true if this chunk is this chunk has the reserved bit set.
-
isSafeToCopy
public boolean isSafeToCopy()- Returns:
- true if this chunk is safe to blindly copy, requiring no other chunks and contains no image-centric data.
-