public class LocalBlockInStream extends BlockInStream
mBlockIndex, mClosedmFile, mReadType, mTachyonFS| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
void |
seek(long pos)
Sets the stream pointer offset, measured from the beginning of this stream, at which the next
read or write occurs.
|
long |
skip(long n) |
get, getavailable, mark, markSupported, resetpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InStreamIOExceptionpublic int read()
throws IOException
read in class InStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class InStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InStreamIOExceptionpublic void seek(long pos)
throws IOException
InStreamseek in class InStreampos - the offset position, measured in bytes from the beginning of the InStream, at which
to set the stream pointer.IOException - if pos is less than 0 or if an I/O error occurs.public long skip(long n)
throws IOException
skip in class InStreamIOExceptionCopyright © 2015. All Rights Reserved.