public class Base64Context extends Object
| Constructor and Description |
|---|
Base64Context() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
available()
Returns the amount of buffered data available for reading.
|
void |
close()
should be called when context becomes useless
|
byte[] |
ensureBufferHasCapacityLeft(int size)
Ensure, that the output data buffer has enough space left for
size mode bytes. |
ByteArrayHolder |
readResults() |
void |
syncBufferPos()
If your underlying buffer has navigation capabilities, you can use this method
to sync positions of the reader with your structure.
|
String |
toString()
Returns a String useful for debugging (especially within a debugger.)
|
public String toString()
public byte[] ensureBufferHasCapacityLeft(int size)
throws FileParsingException
size mode bytes.size - FileParsingExceptionpublic void syncBufferPos()
protected int available()
public ByteArrayHolder readResults()
public void close()
throws FileParsingException
FileParsingExceptionCopyright © 2017. All rights reserved.