gnu.bytecode
Class MiscAttr
MiscAttr(String name, byte[] data)
|
MiscAttr(String name, byte[] data, int offset, int length)
|
int | getLength() - Return the length of the attribute in bytes.
|
void | write(DataOutputStream dstr) - Write out the contents of the Attribute.
|
addToFrontOf , assignConstants , assignConstants , count , get , getContainer , getLength , getLengthAll , getName , getNameIndex , getNext , isSkipped , print , setContainer , setName , setNameIndex , setNext , setSkipped , setSkipped , write , writeAll |
MiscAttr
public MiscAttr(String name,
byte[] data)
MiscAttr
public MiscAttr(String name,
byte[] data,
int offset,
int length)
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).
- getLength in interface Attribute
write
public void write(DataOutputStream dstr)
throws java.io.IOException
Write out the contents of the Attribute.
Does not write the 6-byte attribute header.
- write in interface Attribute