public class com.mongodb.internal.connection.tlschannel.impl.ByteBufferUtil
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: com.mongodb.internal.connection.tlschannel.impl.ByteBufferUtil
  super_class: java.lang.Object
{
  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.internal.connection.tlschannel.impl.ByteBufferUtil this
         0: .line 25
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // com.mongodb.internal.connection.tlschannel.impl.ByteBufferUtil this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferUtil;

  public static void copy(java.nio.ByteBuffer, java.nio.ByteBuffer, int);
    descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;I)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=7, locals=4, args_size=3
        start local 0 // java.nio.ByteBuffer src
        start local 1 // java.nio.ByteBuffer dst
        start local 2 // int length
         0: .line 28
            iload 2 /* length */
            ifge 2
         1: .line 29
            new java.lang.IllegalArgumentException
            dup
            ldc "negative length"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 31
      StackMap locals:
      StackMap stack:
            aload 0 /* src */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            iload 2 /* length */
            if_icmpge 6
         3: .line 32
            new java.lang.IllegalArgumentException
            dup
         4: .line 33
            ldc "source buffer does not have enough remaining capacity (%d < %d)"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* src */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            iload 2 /* length */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
         5: .line 32
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         6: .line 35
      StackMap locals:
      StackMap stack:
            aload 1 /* dst */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            iload 2 /* length */
            if_icmpge 10
         7: .line 36
            new java.lang.IllegalArgumentException
            dup
         8: .line 37
            ldc "destination buffer does not have enough remaining capacity (%d < %d)"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            aload 1 /* dst */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            iload 2 /* length */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
         9: .line 36
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        10: .line 39
      StackMap locals:
      StackMap stack:
            iload 2 /* length */
            ifne 12
        11: .line 40
            return
        12: .line 42
      StackMap locals:
      StackMap stack:
            aload 0 /* src */
            invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
            astore 3 /* tmp */
        start local 3 // java.nio.ByteBuffer tmp
        13: .line 43
            aload 3 /* tmp */
            aload 0 /* src */
            invokevirtual java.nio.ByteBuffer.position:()I
            iload 2 /* length */
            iadd
            invokevirtual java.nio.Buffer.limit:(I)Ljava/nio/Buffer;
            pop
        14: .line 44
            aload 1 /* dst */
            aload 3 /* tmp */
            invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
            pop
        15: .line 45
            aload 0 /* src */
            aload 0 /* src */
            invokevirtual java.nio.ByteBuffer.position:()I
            iload 2 /* length */
            iadd
            invokevirtual java.nio.Buffer.position:(I)Ljava/nio/Buffer;
            pop
        16: .line 46
            return
        end local 3 // java.nio.ByteBuffer tmp
        end local 2 // int length
        end local 1 // java.nio.ByteBuffer dst
        end local 0 // java.nio.ByteBuffer src
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   17     0     src  Ljava/nio/ByteBuffer;
            0   17     1     dst  Ljava/nio/ByteBuffer;
            0   17     2  length  I
           13   17     3     tmp  Ljava/nio/ByteBuffer;
    MethodParameters:
        Name  Flags
      src     final
      dst     final
      length  final
}
SourceFile: "ByteBufferUtil.java"