| Package | Description |
|---|---|
| io.humble.ferry |
A collection of classes that ferry objects from Java to native code and back,
and manage native memory.
|
| Modifier and Type | Method and Description |
|---|---|
Buffer.Type |
Buffer.getType()
Get the type this buffer was created as.
|
static Buffer.Type |
Buffer.Type.swigToEnum(int swigValue) |
static Buffer.Type |
Buffer.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Buffer.Type[] |
Buffer.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
Buffer.getTypeSize(Buffer.Type type)
Returns the size, in bytes, of elements of given Type.
|
static Buffer |
Buffer.make(RefCounted requestor,
Buffer.Type type,
int numElements,
boolean zero)
Allocate a new buffer of at least bufferSize.
|
void |
Buffer.setType(Buffer.Type type)
Reset the buffer type to a new type.
|
Copyright © 2018 Humble Software. All rights reserved.