public class HeartbeatExtension extends Object
| Modifier and Type | Field and Description |
|---|---|
protected short |
mode |
| Constructor and Description |
|---|
HeartbeatExtension(short mode) |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(OutputStream output)
Encode this
HeartbeatExtension to an OutputStream. |
short |
getMode() |
static HeartbeatExtension |
parse(InputStream input)
Parse a
HeartbeatExtension from an InputStream. |
public short getMode()
public void encode(OutputStream output) throws IOException
HeartbeatExtension to an OutputStream.output - the OutputStream to encode to.IOExceptionpublic static HeartbeatExtension parse(InputStream input) throws IOException
HeartbeatExtension from an InputStream.input - the InputStream to parse from.HeartbeatExtension object.IOExceptionCopyright © 2015–2019 The veraPDF Consortium. All rights reserved.