| Modifier and Type | Field and Description |
|---|---|
byte[] |
buf
The read buffer.
|
protected int |
i
The
buffer's data end index, exclusive. |
protected InputStream |
in
The data source.
|
protected int |
offset
The
buffer's data start index, inclusive. |
| Constructor and Description |
|---|
Unmarshaller(InputStream in,
byte[] buf) |
| Modifier and Type | Method and Description |
|---|---|
Account |
next()
Deserializes the following object.
|
void |
reset(InputStream in)
Reuses the marshaller.
|
protected InputStream in
public byte[] buf
protected int offset
buffer's data start index, inclusive.protected int i
buffer's data end index, exclusive.public Unmarshaller(InputStream in, byte[] buf)
in - the data source or null.buf - the initial buffer or null.public void reset(InputStream in)
in - the data source or null.IllegalStateException - on pending data.public Account next() throws IOException
null when EOF.IOException - from the input stream.SecurityException - on an upper limit breach defined by Account.colferSizeMax.InputMismatchException - when the data does not match this object's schema.Copyright © 2019. All rights reserved.