Package gnu.bytecode

Class MiscAttr

    • Constructor Detail

      • MiscAttr

        public MiscAttr​(String name,
                        byte[] data,
                        int offset,
                        int length)
      • MiscAttr

        public MiscAttr​(String name,
                        byte[] data)
    • Method Detail

      • getLength

        public int getLength()
        Return the length of the attribute in bytes. Does not include the 6-byte header (for the name_index and the length).
        Specified by:
        getLength in class Attribute
      • u1

        protected int u1​(int offset)
      • u2

        protected int u2​(int offset)
      • u1

        protected int u1()
      • u2

        protected int u2()
      • put1

        protected void put1​(int val)
      • put2

        protected void put2​(int val)
      • put2

        protected void put2​(int offset,
                            int val)