Class PNGChunk


  • class PNGChunk
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) int crc  
      (package private) byte[] data  
      (package private) int length  
      (package private) int type  
      (package private) java.lang.String typeString  
    • Constructor Summary

      Constructors 
      Constructor Description
      PNGChunk​(int length, int type, byte[] data, int crc)  
    • Field Detail

      • length

        int length
      • type

        int type
      • data

        byte[] data
      • crc

        int crc
      • typeString

        final java.lang.String typeString
    • Constructor Detail

      • PNGChunk

        PNGChunk​(int length,
                 int type,
                 byte[] data,
                 int crc)
    • Method Detail

      • getLength

        public int getLength()
      • getType

        public int getType()
      • getTypeString

        public java.lang.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 java.lang.String getString4​(int offset)
      • isType

        public boolean isType​(java.lang.String typeName)