struct ogg_packet {
unsigned char * packet;
long bytes;
long b_o_s;
long e_o_s;
ogg_int64_t granulepos;
ogg_int64_t packetno;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | OGGPacket.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | B_O_S
The struct member offsets. |
| public static final int | BYTES
The struct member offsets. |
| public static final int | E_O_S
The struct member offsets. |
| public static final int | GRANULEPOS
The struct member offsets. |
| public static final int | PACKET
The struct member offsets. |
| public static final int | PACKETNO
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | OGGPacket(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public long | |
| protected OGGPacket | 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 OGGPacket | |
| public static OGGPacket. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static OGGPacket | |
| public static OGGPacket. | |
| public long | |
| public long | |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public static ByteBuffer | |
| public static long | |
| public ByteBuffer | |
| public long | packetno()
sequence number for decode; the framing knows where there's a hole in the data, but we need coupling so that the codec (which is in a separate abstraction layer) also knows about the gap |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| B_O_S | back to summary |
|---|---|
| public static final int B_O_S The struct member offsets. | |
| BYTES | back to summary |
|---|---|
| public static final int BYTES The struct member offsets. | |
| E_O_S | back to summary |
|---|---|
| public static final int E_O_S The struct member offsets. | |
| GRANULEPOS | back to summary |
|---|---|
| public static final int GRANULEPOS The struct member offsets. | |
| PACKET | back to summary |
|---|---|
| public static final int PACKET The struct member offsets. | |
| PACKETNO | back to summary |
|---|---|
| public static final int PACKETNO The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| OGGPacket | back to summary |
|---|---|
| protected OGGPacket(long address, ByteBuffer container) | |
| OGGPacket | back to summary |
|---|---|
| public OGGPacket(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| b_o_s | back to summary |
|---|---|
public long b_o_s()
| |
| bytes | back to summary |
|---|---|
public long bytes()
| |
| create | back to summary |
|---|---|
| protected OGGPacket create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static OGGPacket create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static OGGPacket. Create a
| |
| createSafe | back to summary |
|---|---|
| public static OGGPacket createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static OGGPacket. Like
| |
| e_o_s | back to summary |
|---|---|
public long e_o_s()
| |
| granulepos | back to summary |
|---|---|
public long granulepos()
| |
| nb_o_s | back to summary |
|---|---|
| public static long nb_o_s(long struct) Unsafe version of | |
| nbytes | back to summary |
|---|---|
| public static long nbytes(long struct) Unsafe version of | |
| ne_o_s | back to summary |
|---|---|
| public static long ne_o_s(long struct) Unsafe version of | |
| ngranulepos | back to summary |
|---|---|
| public static long ngranulepos(long struct) Unsafe version of | |
| npacket | back to summary |
|---|---|
| public static ByteBuffer npacket(long struct) Unsafe version of | |
| npacketno | back to summary |
|---|---|
| public static long npacketno(long struct) Unsafe version of | |
| packet | back to summary |
|---|---|
public ByteBuffer packet()
| |
| packetno | back to summary |
|---|---|
| public long packetno() sequence number for decode; the framing knows where there's a hole in the data, but we need coupling so that the codec (which is in a separate abstraction layer) also knows about the gap
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
OGGPacket structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final OGGPacket |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public long | |
| public long | |
| protected OGGPacket | |
| public long | |
| public ByteBuffer | |
| public long | |
| protected OGGPacket. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final OGGPacket 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) | |
| b_o_s | back to summary |
|---|---|
public long b_o_s()
| |
| bytes | back to summary |
|---|---|
public long bytes()
| |
| e_o_s | back to summary |
|---|---|
public long e_o_s()
| |
| getElementFactory | back to summary |
|---|---|
| protected OGGPacket getElementFactory() Implements abstract org.
| |
| granulepos | back to summary |
|---|---|
public long granulepos()
| |
| packet | back to summary |
|---|---|
public ByteBuffer packet()
| |
| packetno | back to summary |
|---|---|
public long packetno()
| |
| self | back to summary |
|---|---|
| protected OGGPacket. Implements abstract org.
| |