INativeType
public class NativeBufferType extends NativeType
Modifier | Constructor | Description |
---|---|---|
protected |
NativeBufferType() |
|
protected |
NativeBufferType(int bufferSize) |
Modifier and Type | Method | Description |
---|---|---|
static NativeBufferType |
create(int size) |
|
INativeObject |
createNative(INativeHandle handle) |
Create a new
INativeObject from a INativeHandle . |
int |
getBufferSize() |
|
int |
getByteCount() |
The size of the type in c memory.
|
int |
getPreferredBoundary() |
The boundary where this type as a struct member would want to be aligned.
|
Array, createNative, lookup, Ref, register
protected NativeBufferType()
protected NativeBufferType(int bufferSize)
public static NativeBufferType create(int size)
public INativeObject createNative(INativeHandle handle)
INativeType
INativeObject
from a INativeHandle
.createNative
in interface INativeType
createNative
in class NativeType
handle
- The handle to memory.INativeObject
public int getBufferSize()
public int getByteCount()
INativeType
getByteCount
in interface INativeType
getByteCount
in class NativeType
public int getPreferredBoundary()
INativeType