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) |
close
public BufferInputStream(byte[] data)
public BufferInputStream(Buffer sequence)
public BufferInputStream(byte[] data, int offset, int size)
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] b) throws IOException
read
in class InputStream
IOException
public int read(byte[] b, int off, int len)
read
in class InputStream
public Buffer readBuffer(int len)
public long skip(long len) throws IOException
skip
in class InputStream
IOException
public int available()
available
in class InputStream
public boolean markSupported()
markSupported
in class InputStream
public void mark(int markpos)
mark
in class InputStream
public void reset()
reset
in class InputStream
Copyright © 2010–2021 FuseSource, Corp.. All rights reserved.