Package org.lwjgl.util.opus
Class OpusTags.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<OpusTags,OpusTags.Buffer>
-
- org.lwjgl.util.opus.OpusTags.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<OpusTags>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- OpusTags
public static class OpusTags.Buffer extends org.lwjgl.system.StructBuffer<OpusTags,OpusTags.Buffer> implements org.lwjgl.system.NativeResource
An array ofOpusTagsstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.IntBuffercomment_lengths()intcomments()org.lwjgl.PointerBufferuser_comments()java.nio.ByteBuffervendor()java.lang.StringvendorString()
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newOpusTags.Bufferinstance backed by the specified container. 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 byOpusTags.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
user_comments
public org.lwjgl.PointerBuffer user_comments()
- Returns:
- a
PointerBufferview of the data pointed to by theOpusTags.user_comments()field.
-
comment_lengths
public java.nio.IntBuffer comment_lengths()
- Returns:
- a
IntBufferview of the data pointed to by theOpusTags.comment_lengths()field.
-
comments
public int comments()
- Returns:
- the value of the
OpusTags.comments()field.
-
vendor
public java.nio.ByteBuffer vendor()
- Returns:
- a
ByteBufferview of the null-terminated string pointed to by theOpusTags.vendor()field.
-
vendorString
public java.lang.String vendorString()
- Returns:
- the null-terminated string pointed to by the
OpusTags.vendor()field.
-
-