Class BinaryInput
java.lang.Object
se.l4.commons.serialization.format.AbstractStreamingInput
se.l4.commons.serialization.format.BinaryInput
- All Implemented Interfaces:
Closeable,AutoCloseable,StreamingInput
public class BinaryInput extends AbstractStreamingInput
Input for binary format.
- Author:
- Andreas Holstenson
-
Field Summary
-
Constructor Summary
Constructors Constructor Description BinaryInput(InputStream in) -
Method Summary
Methods inherited from class se.l4.commons.serialization.format.AbstractStreamingInput
current, getBoolean, getByte, getByteArray, getChar, getDouble, getFloat, getInt, getLong, getShort, getString, getValue, getValueType, next, next, raiseException, raiseSerializationException, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, skip, skipValue
-
Constructor Details
-
Method Details
-
close
- Throws:
IOException
-
peek
Description copied from interface:StreamingInputPeek into the stream and return the next token.- Returns:
- Throws:
IOException
-
next0
- Specified by:
next0in classAbstractStreamingInput- Throws:
IOException
-