Code example for DataInput

Methods: readIntreadUnsignedShort

0
    finishReadAttribute( DataInput i, UnicodeConstant name, ConstantPool cp ) throws IOException {
	int l;
	int n;
	ConstantObject d;
 
	l  = i.readInt();
	n  = i.readUnsignedShort();
	d  = cp.elementAt(n);
	return new ConstantValueAttribute( name, l, d );
    } 
 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE