read field of the STBIIOCallbacks struct.
int (*invoke) (
void *user,
char *data,
int size
)
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| protected | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static STBIReadCallback | Returns: the newSTBIReadCallbackCreates a |
| public static STBIReadCallback | create(STBIReadCallbackI instance)
Creates a |
| public static STBIReadCallback | |
| public static ByteBuffer | Returns: the data as a ByteBufferthe STBIReadCallback data, int data argumentthe STBIReadCallback size)size argumentConverts the specified |
| STBIReadCallback | back to summary |
|---|---|
| protected STBIReadCallback() | |
| STBIReadCallback | back to summary |
|---|---|
| pack-priv STBIReadCallback(long functionPointer) | |
| create | back to summary |
|---|---|
| public static STBIReadCallback create(long functionPointer) Creates a
| |
| create | back to summary |
|---|---|
| public static STBIReadCallback create(STBIReadCallbackI instance) Creates a | |
| createSafe | back to summary |
|---|---|
| public static STBIReadCallback createSafe(long functionPointer) Like
| |
| getData | back to summary |
|---|---|
| public static ByteBuffer getData(long data, int size) Converts the specified This method may only be used inside a STBIReadCallback invocation.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final STBIReadCallbackI |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | invoke(long
a pointer to user data user, long the data buffer to fill data, int the number of bytes to read size)Implements org. stbi_io_callbacks.read callback.
|
| delegate | back to summary |
|---|---|
| private final STBIReadCallbackI delegate | |
| Container | back to summary |
|---|---|
| pack-priv Container(long functionPointer, STBIReadCallbackI delegate) | |
| invoke | back to summary |
|---|---|
| public int invoke(long user, long data, int size) Implements org. Doc from org. The
| |