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
InputStream.read()
public int read(byte[] b) throws IOException
read
in class InputStream
IOException
InputStream.read(byte [])
public int read(byte[] b, int off, int len) throws IOException
read
in class InputStream
IOException
InputStream.read(byte [], int, int)
public int available() throws IOException
available
in class InputStream
IOException
InputStream.available()
public void mark(int readAheadLimit)
mark
in class InputStream
InputStream.mark(int)
public void reset()
reset
in class InputStream
InputStream.reset()
public long skip(long n) throws IOException
skip
in class InputStream
IOException
InputStream.skip(long)
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.