public class MemoryUtils
extends java.lang.Object
| Constructor and Description |
|---|
MemoryUtils() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
allocateByteArray(long lengthLong,
long max) |
static java.nio.ByteBuffer |
allocateByteBuffer(long lengthLong,
long max) |
public static java.nio.ByteBuffer allocateByteBuffer(long lengthLong,
long max)
throws MemoryAllocationException
MemoryAllocationExceptionpublic static byte[] allocateByteArray(long lengthLong,
long max)
throws MemoryAllocationException
MemoryAllocationExceptionCopyright © 2020. All rights reserved.