java.io.InputStream whose content can be accessed as ByteBuffers.
This can be used for optimizing the case for the consumer of a ByteBuffer-backed
input stream supports efficient reading from ByteBuffers directly. This turns the reader
interface from an java. to ByteBuffers, without copying the
content to a byte array and read from it.
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public ByteBuffer | getByteBuffer()
Gets a |
| byteBufferSupported | back to summary |
|---|---|
| public boolean byteBufferSupported() Indicates whether or not | |
| getByteBuffer | back to summary |
|---|---|
| public ByteBuffer getByteBuffer() Gets a
| |