public final class BufferInputStream extends InputStream
| Constructor and Description |
|---|
BufferInputStream(Buffer sequence) |
BufferInputStream(byte[] data) |
BufferInputStream(byte[] data,
int offset,
int size) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
mark(int markpos) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
Buffer |
readBuffer(int len) |
void |
reset() |
long |
skip(long len) |
closepublic BufferInputStream(byte[] data)
public BufferInputStream(Buffer sequence)
public BufferInputStream(byte[] data,
int offset,
int size)
public int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
read in class InputStreampublic Buffer readBuffer(int len)
public long skip(long len)
throws IOException
skip in class InputStreamIOExceptionpublic int available()
available in class InputStreampublic boolean markSupported()
markSupported in class InputStreampublic void mark(int markpos)
mark in class InputStreampublic void reset()
reset in class InputStreamCopyright © 2010–2025 FuseSource, Corp.. All rights reserved.