@InterfaceAudience.Private
public interface ByteBufferAllocator
| 限定符和类型 | 方法和说明 |
|---|---|
ByteBuffer |
allocate(long size)
Allocates a bytebuffer
|
ByteBuffer allocate(long size) throws IOException
size - the size of the bytebufferIOException - exception thrown if there is an error while creating the ByteBufferCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.