public abstract class BCPGObject extends java.lang.Object implements Encodable
Constructor and Description |
---|
BCPGObject() |
Modifier and Type | Method and Description |
---|---|
abstract void |
encode(BCPGOutputStream out) |
byte[] |
getEncoded()
Return a byte array representing the implementing object.
|
public byte[] getEncoded() throws java.io.IOException
Encodable
getEncoded
in interface Encodable
java.io.IOException
- if an issue arises generation the encoding.public abstract void encode(BCPGOutputStream out) throws java.io.IOException
java.io.IOException