@Private
@Evolving
public final class ByteBufferUtil
extends java.lang.Object
| Constructor | Description |
|---|---|
ByteBufferUtil() |
| Modifier and Type | Method | Description |
|---|---|---|
static java.nio.ByteBuffer |
fallbackRead(java.io.InputStream stream,
ByteBufferPool bufferPool,
int maxLength) |
Perform a fallback read.
|
public static java.nio.ByteBuffer fallbackRead(java.io.InputStream stream,
ByteBufferPool bufferPool,
int maxLength)
throws java.io.IOException
stream - input stream.bufferPool - bufferPool.maxLength - maxLength.java.io.IOException - raised on errors performing I/O.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.