public class UserAttributeSubpacket
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected byte[] |
data |
Modifier | Constructor and Description |
---|---|
protected |
UserAttributeSubpacket(int type,
boolean forceLongLength,
byte[] data) |
protected |
UserAttributeSubpacket(int type,
byte[] data) |
Modifier and Type | Method and Description |
---|---|
void |
encode(java.io.OutputStream out) |
boolean |
equals(java.lang.Object o) |
byte[] |
getData()
return the generic data making up the packet.
|
int |
getType() |
int |
hashCode() |
protected UserAttributeSubpacket(int type, byte[] data)
protected UserAttributeSubpacket(int type, boolean forceLongLength, byte[] data)
public int getType()
public byte[] getData()
public void encode(java.io.OutputStream out) throws java.io.IOException
java.io.IOException
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object