public final class InputStreamBinaryInput extends Object implements BinaryInput
| Constructor and Description |
|---|
InputStreamBinaryInput(InputStream is) |
public InputStreamBinaryInput(InputStream is)
public int read()
throws IOException
BinaryInputread in interface BinaryInputIOException - if an I/O error occurspublic void read(byte[] buffer,
int length)
throws IOException
BinaryInputlength bytes from underlying storageread in interface BinaryInputbuffer - the buffer to copy bytes tolength - number of bytes to read (exactly)IOException - if an I/O error occursCopyright © 2016. All rights reserved.