Closeable, AutoCloseablepublic class ByteBufferInputStream extends InputStream
| Constructor | Description |
|---|---|
ByteBufferInputStream(ByteBuffer buffer) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
mark(int readlimit) |
|
int |
read() |
|
int |
read(byte[] bytes,
int offset,
int length) |
|
void |
reset() |
available, close, markSupported, read, readAllBytes, readNBytes, skip, transferTopublic ByteBufferInputStream(ByteBuffer buffer)
public int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] bytes,
int offset,
int length)
throws IOException
read in class InputStreamIOExceptionpublic void mark(int readlimit)
mark in class InputStreampublic void reset()
throws IOException
reset in class InputStreamIOExceptionCopyright © 2018 Electronic Arts Inc. All rights reserved.