static final class PNGConverter.Chunk
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) byte[] |
bytes
This field holds the whole byte array; In that it's redundant, as all chunks
will have the same byte array.
|
(package private) int |
chunkType
The chunk type, see the CHUNK_??? constants.
|
(package private) int |
crc
The crc of the chunk data, as stored in the PNG stream.
|
(package private) int |
length
The length of the data within the byte array.
|
(package private) int |
start
The start index of the chunk data within bytes.
|
Constructor and Description |
---|
Chunk() |
Modifier and Type | Method and Description |
---|---|
(package private) byte[] |
getData()
Get the data of this chunk as a byte array
|
byte[] bytes
int chunkType
int crc
int start
int length