code: public int getLength() {
          int length = 8;
  
          int size = mAttributes.size();
          for (int i=0; i<size; i++) {
              length += mAttributes.get(i).getLength();
          }
  
          return length;
      }
docs: Returns the length (in bytes) of this object in the class file.