| Modifier and Type | Method and Description |
|---|---|
static UnsafeHeapBytes |
UnsafeHeapBytes.allocate(int size)
Allocates a new heap byte array.
|
UnsafeHeapBytes |
UnsafeHeapBytes.copy()
Copies the bytes to a new byte array.
|
UnsafeHeapBytes |
UnsafeHeapBytes.reset(byte[] array)
Resets the heap byte array.
|
static UnsafeHeapBytes |
UnsafeHeapBytes.wrap(byte[] bytes)
Wraps the given bytes in a
UnsafeHeapBytes object. |
Copyright © 2013–2017. All rights reserved.