public final class org.terracotta.offheapstore.util.ByteBufferUtils
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: org.terracotta.offheapstore.util.ByteBufferUtils
  super_class: java.lang.Object
{
  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.terracotta.offheapstore.util.ByteBufferUtils this
         0: .line 26
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 28
            return
        end local 0 // org.terracotta.offheapstore.util.ByteBufferUtils this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/terracotta/offheapstore/util/ByteBufferUtils;

  public static int totalLength(java.nio.ByteBuffer[]);
    descriptor: ([Ljava/nio/ByteBuffer;)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=6, args_size=1
        start local 0 // java.nio.ByteBuffer[] buffers
         0: .line 31
            iconst_0
            istore 1 /* total */
        start local 1 // int total
         1: .line 32
            aload 0 /* buffers */
            dup
            astore 5
            arraylength
            istore 4
            iconst_0
            istore 3
            goto 5
      StackMap locals: java.nio.ByteBuffer[] int top int int java.nio.ByteBuffer[]
      StackMap stack:
         2: aload 5
            iload 3
            aaload
            astore 2 /* buffer */
        start local 2 // java.nio.ByteBuffer buffer
         3: .line 33
            iload 1 /* total */
            aload 2 /* buffer */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            iadd
            istore 1 /* total */
        end local 2 // java.nio.ByteBuffer buffer
         4: .line 32
            iinc 3 1
      StackMap locals:
      StackMap stack:
         5: iload 3
            iload 4
            if_icmplt 2
         6: .line 35
            iload 1 /* total */
            ireturn
        end local 1 // int total
        end local 0 // java.nio.ByteBuffer[] buffers
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    7     0  buffers  [Ljava/nio/ByteBuffer;
            1    7     1    total  I
            3    4     2   buffer  Ljava/nio/ByteBuffer;
    MethodParameters:
         Name  Flags
      buffers  

  public static java.nio.ByteBuffer aggregate(java.nio.ByteBuffer[]);
    descriptor: ([Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=6, args_size=1
        start local 0 // java.nio.ByteBuffer[] buffers
         0: .line 39
            aload 0 /* buffers */
            arraylength
            iconst_1
            if_icmpne 2
         1: .line 40
            aload 0 /* buffers */
            iconst_0
            aaload
            areturn
         2: .line 42
      StackMap locals:
      StackMap stack:
            aload 0 /* buffers */
            invokestatic org.terracotta.offheapstore.util.ByteBufferUtils.totalLength:([Ljava/nio/ByteBuffer;)I
            invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
            astore 1 /* aggregate */
        start local 1 // java.nio.ByteBuffer aggregate
         3: .line 43
            aload 0 /* buffers */
            dup
            astore 5
            arraylength
            istore 4
            iconst_0
            istore 3
            goto 7
      StackMap locals: java.nio.ByteBuffer[] java.nio.ByteBuffer top int int java.nio.ByteBuffer[]
      StackMap stack:
         4: aload 5
            iload 3
            aaload
            astore 2 /* element */
        start local 2 // java.nio.ByteBuffer element
         5: .line 44
            aload 1 /* aggregate */
            aload 2 /* element */
            invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
            pop
        end local 2 // java.nio.ByteBuffer element
         6: .line 43
            iinc 3 1
      StackMap locals:
      StackMap stack:
         7: iload 3
            iload 4
            if_icmplt 4
         8: .line 46
            aload 1 /* aggregate */
            invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
            checkcast java.nio.ByteBuffer
            areturn
        end local 1 // java.nio.ByteBuffer aggregate
        end local 0 // java.nio.ByteBuffer[] buffers
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    9     0    buffers  [Ljava/nio/ByteBuffer;
            3    9     1  aggregate  Ljava/nio/ByteBuffer;
            5    6     2    element  Ljava/nio/ByteBuffer;
    MethodParameters:
         Name  Flags
      buffers  
}
SourceFile: "ByteBufferUtils.java"