Class PNGRed.PNGChunk

java.lang.Object
org.apache.xmlgraphics.image.codec.png.PNGRed.PNGChunk
Enclosing class:
PNGRed

static class PNGRed.PNGChunk extends Object
  • Field Details

    • length

      int length
    • type

      int type
    • data

      byte[] data
    • typeString

      String typeString
  • Constructor Details

    • PNGChunk

      public PNGChunk(int length, int type, byte[] data, int crc)
  • Method Details

    • getLength

      public int getLength()
    • getType

      public int getType()
    • getTypeString

      public String getTypeString()
    • getData

      public byte[] getData()
    • getByte

      public byte getByte(int offset)
    • getInt1

      public int getInt1(int offset)
    • getInt2

      public int getInt2(int offset)
    • getInt4

      public int getInt4(int offset)
    • getString4

      public String getString4(int offset)
    • isType

      public boolean isType(String typeName)