public static class ByteArrayIOFileStream.ByteArrayIOFileInputStream extends ByteArrayIOStream.ByteArrayIOInputStream
buf, count
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
close() |
void |
closeAll()
close the underlying file
|
byte[] |
getBuf() |
long |
getCount() |
ByteArrayIOStream.ByteArrayIOInputStream |
getNewStream()
get a new input stream that starts at current pos
|
void |
mark(int readAheadLimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
void |
seek(long pos) |
long |
skip(long n) |
long |
tell() |
String |
toString() |
read
public ByteArrayIOStream.ByteArrayIOInputStream getNewStream()
getNewStream
in class ByteArrayIOStream.ByteArrayIOInputStream
public String toString()
toString
in class ByteArrayIOStream.ByteArrayIOInputStream
Object.toString()
public long getCount()
getCount
in class ByteArrayIOStream.ByteArrayIOInputStream
public void seek(long pos)
seek
in class ByteArrayIOStream.ByteArrayIOInputStream
public long tell()
tell
in class ByteArrayIOStream.ByteArrayIOInputStream
ByteArrayIOStream.ByteArrayIOInputStream.tell()
public byte[] getBuf()
getBuf
in class ByteArrayIOStream.ByteArrayIOInputStream
public int read()
read
in class ByteArrayInputStream
public int read(byte[] b, int off, int len)
read
in class ByteArrayInputStream
public long skip(long n)
skip
in class ByteArrayInputStream
public int available()
available
in class ByteArrayInputStream
public boolean markSupported()
markSupported
in class ByteArrayInputStream
public void mark(int readAheadLimit)
mark
in class ByteArrayInputStream
public void reset()
reset
in class ByteArrayInputStream
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class ByteArrayInputStream
IOException
public void closeAll()
Copyright © 2018. All rights reserved.