net.named_data.jndn.encoding
public class BinaryXmlStructureDecoder extends Object
| Constructor and Description |
|---|
BinaryXmlStructureDecoder() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
findElementEnd(ByteBuffer input)
Continue scanning input starting from offset_.
|
int |
getOffset()
When findElementEnd returns true, call this to get the element end.
|
void |
seek(int offset)
Set the offset into the input, used for the next read.
|
public boolean findElementEnd(ByteBuffer input) throws EncodingException
input - The input buffer to read. This does not update its position().EncodingException - For invalid encoding.public void seek(int offset)
offset - The new offset.public int getOffset()
Copyright © 2015. All rights reserved.