public class ByteBufferInputStream extends InputStream
| Constructor and Description |
|---|
ByteBufferInputStream(byte[] b) |
ByteBufferInputStream(byte[] b,
int off,
int len) |
ByteBufferInputStream(ByteBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
long |
skip(long n) |
String |
toString() |
readpublic ByteBufferInputStream(ByteBuffer buffer)
public ByteBufferInputStream(byte[] b,
int off,
int len)
public ByteBufferInputStream(byte[] b)
public int read()
read in class InputStreampublic int read(byte[] b,
int off,
int len)
read in class InputStreampublic long skip(long n)
skip in class InputStreampublic int available()
available in class InputStreampublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class InputStreampublic void mark(int readlimit)
mark in class InputStreampublic void reset()
reset in class InputStreampublic boolean markSupported()
markSupported in class InputStreamCopyright © 2021. All rights reserved.