Package org.lwjgl.stb
Class STBVorbisComment.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<STBVorbisComment,STBVorbisComment.Buffer>
-
- org.lwjgl.stb.STBVorbisComment.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<STBVorbisComment>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- STBVorbisComment
public static class STBVorbisComment.Buffer extends org.lwjgl.system.StructBuffer<STBVorbisComment,STBVorbisComment.Buffer> implements org.lwjgl.system.NativeResource
An array ofSTBVorbisCommentstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.lwjgl.PointerBuffercomment_list()intcomment_list_length()java.nio.ByteBuffervendor()java.lang.StringvendorString()
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newSTBVorbisComment.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 bySTBVorbisComment.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
-
vendor
public java.nio.ByteBuffer vendor()
- Returns:
- a
ByteBufferview of the null-terminated string pointed to by thevendorfield.
-
vendorString
public java.lang.String vendorString()
- Returns:
- the null-terminated string pointed to by the
vendorfield.
-
comment_list_length
public int comment_list_length()
- Returns:
- the value of the
comment_list_lengthfield.
-
comment_list
public org.lwjgl.PointerBuffer comment_list()
- Returns:
- a
PointerBufferview of the data pointed to by thecomment_listfield.
-
-