public class ByteBufferInputStream extends InputStream
Constructor and Description |
---|
ByteBufferInputStream(ByteBuffer buffer) |
Modifier and Type | Method and Description |
---|---|
void |
mark(int i) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] bytes) |
int |
read(byte[] bytes,
int off,
int len) |
void |
reset() |
available, close, skip
public ByteBufferInputStream(ByteBuffer buffer)
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] bytes) throws IOException
read
in class InputStream
IOException
public int read(byte[] bytes, int off, int len) throws IOException
read
in class InputStream
IOException
public boolean markSupported()
markSupported
in class InputStream
public void mark(int i)
mark
in class InputStream
public void reset() throws IOException
reset
in class InputStream
IOException
Copyright © 2017. All rights reserved.