Class ChunkedSampleByteBuf

java.lang.Object
net.minecraft.client.sounds.ChunkedSampleByteBuf
All Implemented Interfaces:
it.unimi.dsi.fastutil.floats.FloatConsumer, Consumer<Float>, DoubleConsumer

public class ChunkedSampleByteBuf extends Object implements it.unimi.dsi.fastutil.floats.FloatConsumer
  • Field Details

    • buffers

      private final List<ByteBuffer> buffers
    • bufferSize

      private final int bufferSize
    • byteCount

      private int byteCount
    • currentBuffer

      private ByteBuffer currentBuffer
  • Constructor Details

    • ChunkedSampleByteBuf

      public ChunkedSampleByteBuf(int p_341187_)
  • Method Details

    • accept

      public void accept(float p_341150_)
      Specified by:
      accept in interface it.unimi.dsi.fastutil.floats.FloatConsumer
    • get

      public ByteBuffer get()
    • size

      public int size()