static class PNGRed.PNGChunk
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) byte[] |
data |
(package private) int |
length |
(package private) int |
type |
(package private) java.lang.String |
typeString |
Constructor and Description |
---|
PNGChunk(int length,
int type,
byte[] data,
int crc) |
Modifier and Type | Method and Description |
---|---|
byte |
getByte(int offset) |
byte[] |
getData() |
int |
getInt1(int offset) |
int |
getInt2(int offset) |
int |
getInt4(int offset) |
int |
getLength() |
java.lang.String |
getString4(int offset) |
int |
getType() |
java.lang.String |
getTypeString() |
boolean |
isType(java.lang.String typeName) |
int length
int type
byte[] data
java.lang.String typeString
public int getLength()
public int getType()
public java.lang.String getTypeString()
public byte[] getData()
public byte getByte(int offset)
public int getInt1(int offset)
public int getInt2(int offset)
public int getInt4(int offset)
public java.lang.String getString4(int offset)
public boolean isType(java.lang.String typeName)