struct OpusEncCallbacks {
ope_write_func write;
ope_close_func close;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | OpusEncCallbacks.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | CLOSE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | WRITE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | OpusEncCallbacks(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static OpusEncCallbacks | |
| public static OpusEncCallbacks. | calloc(int
the buffer capacity capacity)Returns a new |
| public static OpusEncCallbacks | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static OpusEncCallbacks. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public OPECloseFunc | |
| public OpusEncCallbacks | |
| protected OpusEncCallbacks | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static OpusEncCallbacks | |
| public static OpusEncCallbacks | |
| public static OpusEncCallbacks. | create(int
the buffer capacity capacity)Returns a new |
| public static OpusEncCallbacks. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static OpusEncCallbacks | |
| public static OpusEncCallbacks. | |
| public static OpusEncCallbacks | |
| public static OpusEncCallbacks. | malloc(int
the buffer capacity capacity)Returns a new |
| public static OpusEncCallbacks | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static OpusEncCallbacks. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static OPECloseFunc | |
| public static void | |
| public static OPEWriteFunc | |
| public static void | |
| public OpusEncCallbacks | |
| public OpusEncCallbacks | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public static void | |
| public OPEWriteFunc | |
| public OpusEncCallbacks |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| CLOSE | back to summary |
|---|---|
| public static final int CLOSE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| WRITE | back to summary |
|---|---|
| public static final int WRITE The struct member offsets. | |
| OpusEncCallbacks | back to summary |
|---|---|
| protected OpusEncCallbacks(long address, ByteBuffer container) | |
| OpusEncCallbacks | back to summary |
|---|---|
| public OpusEncCallbacks(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static OpusEncCallbacks calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static OpusEncCallbacks. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static OpusEncCallbacks calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static OpusEncCallbacks. Returns a new
| |
| close$ | back to summary |
|---|---|
| public OPECloseFunc close$() callback for closing the stream
| |
| close$ | back to summary |
|---|---|
| public OpusEncCallbacks close$(OPECloseFuncI value) Sets the specified value to the | |
| create | back to summary |
|---|---|
| protected OpusEncCallbacks create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static OpusEncCallbacks create() Returns a new | |
| create | back to summary |
|---|---|
| public static OpusEncCallbacks create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static OpusEncCallbacks. Returns a new
| |
| create | back to summary |
|---|---|
| public static OpusEncCallbacks. Create a
| |
| createSafe | back to summary |
|---|---|
| public static OpusEncCallbacks createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static OpusEncCallbacks. Like
| |
| malloc | back to summary |
|---|---|
| public static OpusEncCallbacks malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static OpusEncCallbacks. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static OpusEncCallbacks malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static OpusEncCallbacks. Returns a new
| |
| nclose$ | back to summary |
|---|---|
| public static OPECloseFunc nclose$(long struct) Unsafe version of | |
| nclose$ | back to summary |
|---|---|
| public static void nclose$(long struct, OPECloseFuncI value) Unsafe version of | |
| nwrite | back to summary |
|---|---|
| public static OPEWriteFunc nwrite(long struct) Unsafe version of | |
| nwrite | back to summary |
|---|---|
| public static void nwrite(long struct, OPEWriteFuncI value) Unsafe version of | |
| set | back to summary |
|---|---|
| public OpusEncCallbacks set(OPEWriteFuncI write, OPECloseFuncI close$) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public OpusEncCallbacks set(OpusEncCallbacks src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
| write | back to summary |
|---|---|
| public OPEWriteFunc write() callback for writing to the stream
| |
| write | back to summary |
|---|---|
| public OpusEncCallbacks write(OPEWriteFuncI value) Sets the specified value to the | |
OpusEncCallbacks structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final OpusEncCallbacks |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public OPECloseFunc | |
| public OpusEncCallbacks. | |
| protected OpusEncCallbacks | |
| protected OpusEncCallbacks. | |
| public OPEWriteFunc | |
| public OpusEncCallbacks. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final OpusEncCallbacks ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| close$ | back to summary |
|---|---|
public OPECloseFunc close$()
| |
| close$ | back to summary |
|---|---|
| public OpusEncCallbacks. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected OpusEncCallbacks getElementFactory() Implements abstract org.
| |
| self | back to summary |
|---|---|
| protected OpusEncCallbacks. Implements abstract org.
| |
| write | back to summary |
|---|---|
public OPEWriteFunc write()
| |
| write | back to summary |
|---|---|
| public OpusEncCallbacks. Sets the specified value to the | |