Package org.lwjgl.stb

Class STBVorbisAlloc

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer


    public class STBVorbisAlloc
    extends Struct
    A buffer to use for allocations by STBVorbis

    Layout

    struct stb_vorbis_alloc {
        char * alloc_buffer;
        int alloc_buffer_length_in_bytes;
    }
    • Field Detail

      • SIZEOF

        public static final int SIZEOF
        The struct size in bytes.
    • Constructor Detail

      • STBVorbisAlloc

        public STBVorbisAlloc(java.nio.ByteBuffer container)
        Creates a STBVorbisAlloc instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

        The created instance holds a strong reference to the container object.