public final class BinaryDecoder extends Object
Constructor and Description |
---|
BinaryDecoder(InputStream input) |
public BinaryDecoder(InputStream input)
input
- Stream to read from.public int readInt() throws IOException
IOException
- If there is IO error.EOFException
- If end of file reached.public long readLong() throws IOException
IOException
- If there is IO error.EOFException
- If end of file reached.public byte[] readBytes() throws IOException
IOException
- If there is IO error.EOFException
- If end of file reached.Copyright © 2017 The Apache Software Foundation. All rights reserved.