|Modifier and Type||Method and Description|
Reads the next byte of data from this input stream.
Reads up to next
public int read()
intin the range
255. If no byte is available because the end of the stream has been reached, the value
public int read(byte b, int off, int len)
lenbytes of data from buffer into passed array(starting from given offset).
b- the array into which the data is read.
off- the start offset in the destination array
len- the maximum number of bytes to read.
-1if not even 1 byte can be read because the end of the stream has been reached.
public long skip(long n)
nbytes of input from this input stream. Fewer bytes might be skipped if the end of the input stream is reached. The actual number
kof bytes to be skipped is equal to the smaller of
nand remaining bytes in the stream.
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.