OpusFileCallbacks.
int (*invoke) (
void *_stream,
unsigned char *_ptr,
int _nbytes
)
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| protected | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static OPReadFunc | Returns: the newOPReadFuncCreates a |
| public static OPReadFunc | create(OPReadFuncI instance)
Creates a |
| public static OPReadFunc |
| OPReadFunc | back to summary |
|---|---|
| protected OPReadFunc() | |
| OPReadFunc | back to summary |
|---|---|
| pack-priv OPReadFunc(long functionPointer) | |
| create | back to summary |
|---|---|
| public static OPReadFunc create(long functionPointer) Creates a
| |
| create | back to summary |
|---|---|
| public static OPReadFunc create(OPReadFuncI instance) Creates a | |
| createSafe | back to summary |
|---|---|
| public static OPReadFunc createSafe(long functionPointer) Like
| |
| Modifier and Type | Field and Description |
|---|---|
| private final OPReadFuncI |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | invoke(long
the stream to read from _stream, long the buffer to store the data in _ptr, int the maximum number of bytes to read. This function may return fewer, though it will not return zero unless it reaches end-of-file. _nbytes)Implements org. _nbytes bytes of data from _stream.
|
| delegate | back to summary |
|---|---|
| private final OPReadFuncI delegate | |
| Container | back to summary |
|---|---|
| pack-priv Container(long functionPointer, OPReadFuncI delegate) | |
| invoke | back to summary |
|---|---|
| public int invoke(long _stream, long _ptr, int _nbytes) Implements org. Doc from org. Reads up to
| |