public class FastBufferInputStream extends InputStream
Constructor and Description |
---|
FastBufferInputStream(ByteBuffer byteBuffer) |
FastBufferInputStream(FastBufferOutputStream stream)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
mark(int readAheadLimit) |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
long |
skip(long n) |
close, markSupported
public FastBufferInputStream(ByteBuffer byteBuffer)
@Deprecated public FastBufferInputStream(FastBufferOutputStream stream)
stream
- public int read() throws IOException
read
in class InputStream
IOException
java.io.InputStream.read()
public int read(byte[] b) throws IOException
read
in class InputStream
IOException
java.io.InputStream.read(byte b[])
public int read(byte[] b, int off, int len) throws IOException
read
in class InputStream
IOException
java.io.InputStream.read(byte b[], int off, int len)
public int available() throws IOException
available
in class InputStream
IOException
java.io.InputStream.available()
public void mark(int readAheadLimit)
mark
in class InputStream
java.io.InputStream.mark()
public void reset()
reset
in class InputStream
java.io.InputStream.reset()
public long skip(long n) throws IOException
skip
in class InputStream
IOException
java.io.InputStream.skip()
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.