public class org.apache.cassandra.utils.ByteBufferUtil
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.utils.ByteBufferUtil
super_class: java.lang.Object
{
public static final java.nio.ByteBuffer EMPTY_BYTE_BUFFER;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.nio.ByteBuffer UNSET_BYTE_BUFFER;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/utils/ByteBufferUtil;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.cassandra.utils.ByteBufferUtil.$assertionsDisabled:Z
3: iconst_0
newarray 8
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
putstatic org.apache.cassandra.utils.ByteBufferUtil.EMPTY_BYTE_BUFFER:Ljava/nio/ByteBuffer;
4: iconst_0
newarray 8
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
putstatic org.apache.cassandra.utils.ByteBufferUtil.UNSET_BYTE_BUFFER:Ljava/nio/ByteBuffer;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/ByteBufferUtil;
public static int compareUnsigned(java.nio.ByteBuffer, java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tInline cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
RuntimeInvisibleAnnotations:
Inline()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
Inline()
MethodParameters:
Name Flags
o1
o2
public static int compare(byte[], java.nio.ByteBuffer);
descriptor: ([BLjava/nio/ByteBuffer;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tInline cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
RuntimeInvisibleAnnotations:
Inline()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
Inline()
MethodParameters:
Name Flags
o1
o2
public static int compare(java.nio.ByteBuffer, byte[]);
descriptor: (Ljava/nio/ByteBuffer;[B)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tInline cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
RuntimeInvisibleAnnotations:
Inline()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
Inline()
MethodParameters:
Name Flags
o1
o2
public static java.lang.String string(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokestatic org.apache.cassandra.utils.ByteBufferUtil.string:(Ljava/nio/ByteBuffer;Ljava/nio/charset/Charset;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 buffer Ljava/nio/ByteBuffer;
Exceptions:
throws java.nio.charset.CharacterCodingException
MethodParameters:
Name Flags
buffer
public static java.lang.String string(java.nio.ByteBuffer, int, int);
descriptor: (Ljava/nio/ByteBuffer;II)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokestatic org.apache.cassandra.utils.ByteBufferUtil.string:(Ljava/nio/ByteBuffer;IILjava/nio/charset/Charset;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 buffer Ljava/nio/ByteBuffer;
0 1 1 position I
0 1 2 length I
Exceptions:
throws java.nio.charset.CharacterCodingException
MethodParameters:
Name Flags
buffer
position
length
public static java.lang.String string(java.nio.ByteBuffer, int, int, java.nio.charset.Charset);
descriptor: (Ljava/nio/ByteBuffer;IILjava/nio/charset/Charset;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
astore 4
start local 4 1: aload 4
iload 1
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
2: aload 4
aload 4
invokevirtual java.nio.ByteBuffer.position:()I
iload 2
iadd
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
3: aload 4
aload 3
invokestatic org.apache.cassandra.utils.ByteBufferUtil.string:(Ljava/nio/ByteBuffer;Ljava/nio/charset/Charset;)Ljava/lang/String;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 buffer Ljava/nio/ByteBuffer;
0 4 1 position I
0 4 2 length I
0 4 3 charset Ljava/nio/charset/Charset;
1 4 4 copy Ljava/nio/ByteBuffer;
Exceptions:
throws java.nio.charset.CharacterCodingException
MethodParameters:
Name Flags
buffer
position
length
charset
public static java.lang.String string(java.nio.ByteBuffer, java.nio.charset.Charset);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/charset/Charset;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.nio.charset.Charset.newDecoder:()Ljava/nio/charset/CharsetDecoder;
aload 0
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
invokevirtual java.nio.charset.CharsetDecoder.decode:(Ljava/nio/ByteBuffer;)Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 buffer Ljava/nio/ByteBuffer;
0 1 1 charset Ljava/nio/charset/Charset;
Exceptions:
throws java.nio.charset.CharacterCodingException
MethodParameters:
Name Flags
buffer
charset
public static byte[] getArray(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 1
start local 1 1: aload 0
invokevirtual java.nio.ByteBuffer.hasArray:()Z
ifeq 4
2: aload 0
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
iadd
istore 2
start local 2 3: aload 0
invokevirtual java.nio.ByteBuffer.array:()[B
iload 2
iload 2
iload 1
iadd
invokestatic java.util.Arrays.copyOfRange:([BII)[B
areturn
end local 2 4: StackMap locals: int
StackMap stack:
iload 1
newarray 8
astore 2
start local 2 5: aload 0
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
aload 2
invokevirtual java.nio.ByteBuffer.get:([B)Ljava/nio/ByteBuffer;
pop
6: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 buffer Ljava/nio/ByteBuffer;
1 7 1 length I
3 4 2 boff I
5 7 2 bytes [B
MethodParameters:
Name Flags
buffer
public static int lastIndexOf(java.nio.ByteBuffer, byte, int);
descriptor: (Ljava/nio/ByteBuffer;BI)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.cassandra.utils.ByteBufferUtil.$assertionsDisabled:Z
ifne 1
aload 0
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
iload 2
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
if_icmpge 3
2: iconst_m1
ireturn
3: StackMap locals:
StackMap stack:
iload 2
aload 0
invokevirtual java.nio.ByteBuffer.limit:()I
if_icmplt 5
4: aload 0
invokevirtual java.nio.ByteBuffer.limit:()I
iconst_1
isub
istore 2
5: StackMap locals:
StackMap stack:
iload 2
istore 3
start local 3 6: goto 10
7: StackMap locals: int
StackMap stack:
iload 1
aload 0
iload 3
invokevirtual java.nio.ByteBuffer.get:(I)B
if_icmpne 9
8: iload 3
ireturn
9: StackMap locals:
StackMap stack:
iinc 3 -1
StackMap locals:
StackMap stack:
10: iload 3
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
if_icmpge 7
end local 3 11: iconst_m1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 buffer Ljava/nio/ByteBuffer;
0 12 1 valueToFind B
0 12 2 startIndex I
6 11 3 i I
MethodParameters:
Name Flags
buffer
valueToFind
startIndex
public static java.nio.ByteBuffer bytes(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/lang/String;
MethodParameters:
Name Flags
s
public static java.nio.ByteBuffer bytes(java.lang.String, java.nio.charset.Charset);
descriptor: (Ljava/lang/String;Ljava/nio/charset/Charset;)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/lang/String;
0 1 1 charset Ljava/nio/charset/Charset;
MethodParameters:
Name Flags
s
charset
public static java.nio.ByteBuffer clone(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: getstatic org.apache.cassandra.utils.ByteBufferUtil.$assertionsDisabled:Z
ifne 1
aload 0
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
ifne 3
2: getstatic org.apache.cassandra.utils.ByteBufferUtil.EMPTY_BYTE_BUFFER:Ljava/nio/ByteBuffer;
areturn
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
astore 1
start local 1 4: aload 0
invokevirtual java.nio.ByteBuffer.hasArray:()Z
ifeq 7
5: aload 0
invokevirtual java.nio.ByteBuffer.array:()[B
aload 0
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
iadd
aload 1
invokevirtual java.nio.ByteBuffer.array:()[B
iconst_0
aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
6: goto 9
7: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 1
aload 0
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
8: aload 1
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
pop
9: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 buffer Ljava/nio/ByteBuffer;
4 10 1 clone Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buffer
public static void arrayCopy(java.nio.ByteBuffer, int, byte[], int, int);
descriptor: (Ljava/nio/ByteBuffer;I[BII)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
aload 2
iload 3
iload 4
invokestatic org.apache.cassandra.utils.FastByteOperations.copy:(Ljava/nio/ByteBuffer;I[BII)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 src Ljava/nio/ByteBuffer;
0 2 1 srcPos I
0 2 2 dst [B
0 2 3 dstPos I
0 2 4 length I
MethodParameters:
Name Flags
src
srcPos
dst
dstPos
length
public static void arrayCopy(java.nio.ByteBuffer, int, java.nio.ByteBuffer, int, int);
descriptor: (Ljava/nio/ByteBuffer;ILjava/nio/ByteBuffer;II)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
aload 2
iload 3
iload 4
invokestatic org.apache.cassandra.utils.FastByteOperations.copy:(Ljava/nio/ByteBuffer;ILjava/nio/ByteBuffer;II)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 src Ljava/nio/ByteBuffer;
0 2 1 srcPos I
0 2 2 dst Ljava/nio/ByteBuffer;
0 2 3 dstPos I
0 2 4 length I
MethodParameters:
Name Flags
src
srcPos
dst
dstPos
length
public static int put(java.nio.ByteBuffer, java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
invokestatic java.lang.Math.min:(II)I
istore 2
start local 2 1: aload 0
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
aload 1
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
iload 2
invokestatic org.apache.cassandra.utils.ByteBufferUtil.arrayCopy:(Ljava/nio/ByteBuffer;ILjava/nio/ByteBuffer;II)V
2: aload 1
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
iload 2
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
3: aload 0
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
iload 2
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
4: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 src Ljava/nio/ByteBuffer;
0 5 1 trg Ljava/nio/ByteBuffer;
1 5 2 length I
MethodParameters:
Name Flags
src
trg
public static void writeWithLength(java.nio.ByteBuffer, org.apache.cassandra.io.util.DataOutputPlus);
descriptor: (Ljava/nio/ByteBuffer;Lorg/apache/cassandra/io/util/DataOutputPlus;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.writeInt:(I)V
1: aload 1
aload 0
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.write:(Ljava/nio/ByteBuffer;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 bytes Ljava/nio/ByteBuffer;
0 3 1 out Lorg/apache/cassandra/io/util/DataOutputPlus;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
bytes
out
public static void writeWithVIntLength(java.nio.ByteBuffer, org.apache.cassandra.io.util.DataOutputPlus);
descriptor: (Ljava/nio/ByteBuffer;Lorg/apache/cassandra/io/util/DataOutputPlus;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
i2l
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.writeUnsignedVInt:(J)V
1: aload 1
aload 0
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.write:(Ljava/nio/ByteBuffer;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 bytes Ljava/nio/ByteBuffer;
0 3 1 out Lorg/apache/cassandra/io/util/DataOutputPlus;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
bytes
out
public static void writeWithLength(byte[], java.io.DataOutput);
descriptor: ([BLjava/io/DataOutput;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
arraylength
invokeinterface java.io.DataOutput.writeInt:(I)V
1: aload 1
aload 0
invokeinterface java.io.DataOutput.write:([B)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 bytes [B
0 3 1 out Ljava/io/DataOutput;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
bytes
out
public static void writeWithShortLength(java.nio.ByteBuffer, org.apache.cassandra.io.util.DataOutputPlus);
descriptor: (Ljava/nio/ByteBuffer;Lorg/apache/cassandra/io/util/DataOutputPlus;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 2
start local 2 1: getstatic org.apache.cassandra.utils.ByteBufferUtil.$assertionsDisabled:Z
ifne 4
iload 2
iflt 2
iload 2
ldc 65535
if_icmple 4
StackMap locals: int
StackMap stack:
2: new java.lang.AssertionError
dup
3: ldc "Attempted serializing to buffer exceeded maximum of %s bytes: %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc 65535
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
iload 2
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.writeShort:(I)V
5: aload 1
aload 0
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.write:(Ljava/nio/ByteBuffer;)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 buffer Ljava/nio/ByteBuffer;
0 7 1 out Lorg/apache/cassandra/io/util/DataOutputPlus;
1 7 2 length I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buffer
out
public static void writeWithShortLength(byte[], java.io.DataOutput);
descriptor: ([BLjava/io/DataOutput;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
arraylength
istore 2
start local 2 1: getstatic org.apache.cassandra.utils.ByteBufferUtil.$assertionsDisabled:Z
ifne 4
iload 2
iflt 2
iload 2
ldc 65535
if_icmple 4
StackMap locals: int
StackMap stack:
2: new java.lang.AssertionError
dup
3: ldc "Attempted serializing to buffer exceeded maximum of %s bytes: %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc 65535
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
iload 2
invokeinterface java.io.DataOutput.writeShort:(I)V
5: aload 1
aload 0
invokeinterface java.io.DataOutput.write:([B)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 buffer [B
0 7 1 out Ljava/io/DataOutput;
1 7 2 length I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buffer
out
public static java.nio.ByteBuffer readWithLength(java.io.DataInput);
descriptor: (Ljava/io/DataInput;)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface java.io.DataInput.readInt:()I
istore 1
start local 1 1: iload 1
ifge 3
2: new java.io.IOException
dup
ldc "Corrupt (negative) value length encountered"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: int
StackMap stack:
aload 0
iload 1
invokestatic org.apache.cassandra.utils.ByteBufferUtil.read:(Ljava/io/DataInput;I)Ljava/nio/ByteBuffer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 in Ljava/io/DataInput;
1 4 1 length I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
public static java.nio.ByteBuffer readWithVIntLength(org.apache.cassandra.io.util.DataInputPlus);
descriptor: (Lorg/apache/cassandra/io/util/DataInputPlus;)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface org.apache.cassandra.io.util.DataInputPlus.readUnsignedVInt:()J
l2i
istore 1
start local 1 1: iload 1
ifge 3
2: new java.io.IOException
dup
ldc "Corrupt (negative) value length encountered"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: int
StackMap stack:
aload 0
iload 1
invokestatic org.apache.cassandra.utils.ByteBufferUtil.read:(Ljava/io/DataInput;I)Ljava/nio/ByteBuffer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 in Lorg/apache/cassandra/io/util/DataInputPlus;
1 4 1 length I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
public static int serializedSizeWithLength(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 1
start local 1 1: iload 1
invokestatic org.apache.cassandra.db.TypeSizes.sizeof:(I)I
iload 1
iadd
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 buffer Ljava/nio/ByteBuffer;
1 2 1 size I
MethodParameters:
Name Flags
buffer
public static int serializedSizeWithVIntLength(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 1
start local 1 1: iload 1
i2l
invokestatic org.apache.cassandra.db.TypeSizes.sizeofUnsignedVInt:(J)I
iload 1
iadd
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 buffer Ljava/nio/ByteBuffer;
1 2 1 size I
MethodParameters:
Name Flags
buffer
public static void skipWithVIntLength(org.apache.cassandra.io.util.DataInputPlus);
descriptor: (Lorg/apache/cassandra/io/util/DataInputPlus;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface org.apache.cassandra.io.util.DataInputPlus.readUnsignedVInt:()J
l2i
istore 1
start local 1 1: iload 1
ifge 3
2: new java.io.IOException
dup
ldc "Corrupt (negative) value length encountered"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: int
StackMap stack:
aload 0
iload 1
invokeinterface org.apache.cassandra.io.util.DataInputPlus.skipBytesFully:(I)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 in Lorg/apache/cassandra/io/util/DataInputPlus;
1 5 1 length I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
public static int readShortLength(java.io.DataInput);
descriptor: (Ljava/io/DataInput;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface java.io.DataInput.readUnsignedShort:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 in Ljava/io/DataInput;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
public static java.nio.ByteBuffer readWithShortLength(java.io.DataInput);
descriptor: (Ljava/io/DataInput;)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokestatic org.apache.cassandra.utils.ByteBufferUtil.readShortLength:(Ljava/io/DataInput;)I
invokestatic org.apache.cassandra.utils.ByteBufferUtil.read:(Ljava/io/DataInput;I)Ljava/nio/ByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 in Ljava/io/DataInput;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
public static int serializedSizeWithShortLength(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 1
start local 1 1: iload 1
i2s
invokestatic org.apache.cassandra.db.TypeSizes.sizeof:(S)I
iload 1
iadd
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 buffer Ljava/nio/ByteBuffer;
1 2 1 size I
MethodParameters:
Name Flags
buffer
public static void skipShortLength(org.apache.cassandra.io.util.DataInputPlus);
descriptor: (Lorg/apache/cassandra/io/util/DataInputPlus;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokestatic org.apache.cassandra.utils.ByteBufferUtil.readShortLength:(Ljava/io/DataInput;)I
istore 1
start local 1 1: aload 0
iload 1
invokeinterface org.apache.cassandra.io.util.DataInputPlus.skipBytesFully:(I)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 in Lorg/apache/cassandra/io/util/DataInputPlus;
1 3 1 skip I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
public static java.nio.ByteBuffer read(java.io.DataInput, int);
descriptor: (Ljava/io/DataInput;I)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iload 1
ifne 2
1: getstatic org.apache.cassandra.utils.ByteBufferUtil.EMPTY_BYTE_BUFFER:Ljava/nio/ByteBuffer;
areturn
2: StackMap locals:
StackMap stack:
iload 1
newarray 8
astore 2
start local 2 3: aload 0
aload 2
invokeinterface java.io.DataInput.readFully:([B)V
4: aload 2
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 in Ljava/io/DataInput;
0 5 1 length I
3 5 2 buff [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
length
public static byte[] readBytes(java.io.DataInput, int);
descriptor: (Ljava/io/DataInput;I)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.utils.ByteBufferUtil.$assertionsDisabled:Z
ifne 1
iload 1
ifgt 1
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "length is not > 0: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
iload 1
newarray 8
astore 2
start local 2 2: aload 0
aload 2
invokeinterface java.io.DataInput.readFully:([B)V
3: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 in Ljava/io/DataInput;
0 4 1 length I
2 4 2 bytes [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
length
public static int toInt(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
invokevirtual java.nio.ByteBuffer.getInt:(I)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 bytes Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
bytes
public static short toShort(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)S
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
invokevirtual java.nio.ByteBuffer.getShort:(I)S
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 bytes Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
bytes
public static long toLong(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
invokevirtual java.nio.ByteBuffer.getLong:(I)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 bytes Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
bytes
public static float toFloat(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)F
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
invokevirtual java.nio.ByteBuffer.getFloat:(I)F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 bytes Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
bytes
public static double toDouble(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
invokevirtual java.nio.ByteBuffer.getDouble:(I)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 bytes Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
bytes
public static java.nio.ByteBuffer objectToBytes(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
instanceof java.lang.Integer
ifeq 2
1: aload 0
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokestatic org.apache.cassandra.utils.ByteBufferUtil.bytes:(I)Ljava/nio/ByteBuffer;
areturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof java.lang.Byte
ifeq 4
3: aload 0
checkcast java.lang.Byte
invokevirtual java.lang.Byte.byteValue:()B
invokestatic org.apache.cassandra.utils.ByteBufferUtil.bytes:(B)Ljava/nio/ByteBuffer;
areturn
4: StackMap locals:
StackMap stack:
aload 0
instanceof java.lang.Short
ifeq 6
5: aload 0
checkcast java.lang.Short
invokevirtual java.lang.Short.shortValue:()S
invokestatic org.apache.cassandra.utils.ByteBufferUtil.bytes:(S)Ljava/nio/ByteBuffer;
areturn
6: StackMap locals:
StackMap stack:
aload 0
instanceof java.lang.Long
ifeq 8
7: aload 0
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
invokestatic org.apache.cassandra.utils.ByteBufferUtil.bytes:(J)Ljava/nio/ByteBuffer;
areturn
8: StackMap locals:
StackMap stack:
aload 0
instanceof java.lang.Float
ifeq 10
9: aload 0
checkcast java.lang.Float
invokevirtual java.lang.Float.floatValue:()F
invokestatic org.apache.cassandra.utils.ByteBufferUtil.bytes:(F)Ljava/nio/ByteBuffer;
areturn
10: StackMap locals:
StackMap stack:
aload 0
instanceof java.lang.Double
ifeq 12
11: aload 0
checkcast java.lang.Double
invokevirtual java.lang.Double.doubleValue:()D
invokestatic org.apache.cassandra.utils.ByteBufferUtil.bytes:(D)Ljava/nio/ByteBuffer;
areturn
12: StackMap locals:
StackMap stack:
aload 0
instanceof java.util.UUID
ifeq 14
13: aload 0
checkcast java.util.UUID
invokestatic org.apache.cassandra.utils.ByteBufferUtil.bytes:(Ljava/util/UUID;)Ljava/nio/ByteBuffer;
areturn
14: StackMap locals:
StackMap stack:
aload 0
instanceof java.net.InetAddress
ifeq 16
15: aload 0
checkcast java.net.InetAddress
invokestatic org.apache.cassandra.utils.ByteBufferUtil.bytes:(Ljava/net/InetAddress;)Ljava/nio/ByteBuffer;
areturn
16: StackMap locals:
StackMap stack:
aload 0
instanceof java.lang.String
ifeq 18
17: aload 0
checkcast java.lang.String
invokestatic org.apache.cassandra.utils.ByteBufferUtil.bytes:(Ljava/lang/String;)Ljava/nio/ByteBuffer;
areturn
18: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Cannot convert value %s of type %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
19: aload 0
aastore
dup
iconst_1
20: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aastore
21: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public static java.nio.ByteBuffer bytes(byte);
descriptor: (B)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: iconst_1
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
iconst_0
iload 0
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 b B
MethodParameters:
Name Flags
b
public static java.nio.ByteBuffer bytes(short);
descriptor: (S)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: iconst_2
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
iconst_0
iload 0
invokevirtual java.nio.ByteBuffer.putShort:(IS)Ljava/nio/ByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s S
MethodParameters:
Name Flags
s
public static java.nio.ByteBuffer bytes(int);
descriptor: (I)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: iconst_4
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
iconst_0
iload 0
invokevirtual java.nio.ByteBuffer.putInt:(II)Ljava/nio/ByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 i I
MethodParameters:
Name Flags
i
public static java.nio.ByteBuffer bytes(long);
descriptor: (J)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: bipush 8
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
iconst_0
lload 0
invokevirtual java.nio.ByteBuffer.putLong:(IJ)Ljava/nio/ByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 n J
MethodParameters:
Name Flags
n
public static java.nio.ByteBuffer bytes(float);
descriptor: (F)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: iconst_4
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
iconst_0
fload 0
invokevirtual java.nio.ByteBuffer.putFloat:(IF)Ljava/nio/ByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 f F
MethodParameters:
Name Flags
f
public static java.nio.ByteBuffer bytes(double);
descriptor: (D)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: bipush 8
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
iconst_0
dload 0
invokevirtual java.nio.ByteBuffer.putDouble:(ID)Ljava/nio/ByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 d D
MethodParameters:
Name Flags
d
public static java.io.InputStream inputStream(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Ljava/io/InputStream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
astore 1
start local 1 1: new org.apache.cassandra.utils.ByteBufferUtil$1
dup
aload 1
invokespecial org.apache.cassandra.utils.ByteBufferUtil$1.<init>:(Ljava/nio/ByteBuffer;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 bytes Ljava/nio/ByteBuffer;
1 2 1 copy Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
bytes
public static java.lang.String bytesToHex(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.ByteBuffer.hasArray:()Z
ifeq 2
1: aload 0
invokevirtual java.nio.ByteBuffer.array:()[B
aload 0
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
iadd
aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
invokestatic org.apache.cassandra.utils.Hex.bytesToHex:([BII)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
istore 1
start local 1 3: aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 2
start local 2 4: iload 2
iconst_2
imul
newarray 5
astore 3
start local 3 5: iconst_0
istore 4
start local 4 6: goto 11
7: StackMap locals: java.nio.ByteBuffer int int char[] int
StackMap stack:
aload 0
iload 4
iload 1
iadd
invokevirtual java.nio.ByteBuffer.get:(I)B
istore 5
start local 5 8: aload 3
iload 4
iconst_2
imul
getstatic org.apache.cassandra.utils.Hex.byteToChar:[C
iload 5
sipush 240
iand
iconst_4
ishr
caload
castore
9: aload 3
iconst_1
iload 4
iconst_2
imul
iadd
getstatic org.apache.cassandra.utils.Hex.byteToChar:[C
iload 5
bipush 15
iand
caload
castore
end local 5 10: iinc 4 1
StackMap locals:
StackMap stack:
11: iload 4
iload 2
if_icmplt 7
end local 4 12: aload 3
invokestatic org.apache.cassandra.utils.Hex.wrapCharArray:([C)Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 bytes Ljava/nio/ByteBuffer;
3 13 1 offset I
4 13 2 size I
5 13 3 c [C
6 12 4 i I
8 10 5 bint I
MethodParameters:
Name Flags
bytes
public static java.nio.ByteBuffer hexToBytes(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.apache.cassandra.utils.Hex.hexToBytes:(Ljava/lang/String;)[B
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 str Ljava/lang/String;
MethodParameters:
Name Flags
str
public static int compareSubArrays(java.nio.ByteBuffer, int, java.nio.ByteBuffer, int, int);
descriptor: (Ljava/nio/ByteBuffer;ILjava/nio/ByteBuffer;II)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
ifnonnull 4
1: aload 2
ifnonnull 2
iconst_0
goto 3
StackMap locals:
StackMap stack:
2: iconst_m1
StackMap locals:
StackMap stack: int
3: ireturn
4: StackMap locals:
StackMap stack:
aload 2
ifnonnull 5
iconst_1
ireturn
5: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.utils.ByteBufferUtil.$assertionsDisabled:Z
ifne 6
aload 0
invokevirtual java.nio.ByteBuffer.limit:()I
iload 1
iload 4
iadd
if_icmpge 6
new java.lang.AssertionError
dup
ldc "The first byte array isn't long enough for the specified offset and length."
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
6: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.utils.ByteBufferUtil.$assertionsDisabled:Z
ifne 7
aload 2
invokevirtual java.nio.ByteBuffer.limit:()I
iload 3
iload 4
iadd
if_icmpge 7
new java.lang.AssertionError
dup
ldc "The second byte array isn't long enough for the specified offset and length."
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
7: StackMap locals:
StackMap stack:
iconst_0
istore 5
start local 5 8: goto 17
9: StackMap locals: int
StackMap stack:
aload 0
iload 1
iload 5
iadd
invokevirtual java.nio.ByteBuffer.get:(I)B
istore 6
start local 6 10: aload 2
iload 3
iload 5
iadd
invokevirtual java.nio.ByteBuffer.get:(I)B
istore 7
start local 7 11: iload 6
iload 7
if_icmpne 13
12: goto 16
13: StackMap locals: int int
StackMap stack:
iload 6
sipush 255
iand
iload 7
sipush 255
iand
if_icmpge 14
iconst_m1
goto 15
StackMap locals:
StackMap stack:
14: iconst_1
StackMap locals:
StackMap stack: int
15: ireturn
end local 7 end local 6 16: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
17: iload 5
iload 4
if_icmplt 9
end local 5 18: iconst_0
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 bytes1 Ljava/nio/ByteBuffer;
0 19 1 offset1 I
0 19 2 bytes2 Ljava/nio/ByteBuffer;
0 19 3 offset2 I
0 19 4 length I
8 18 5 i I
10 16 6 byte1 B
11 16 7 byte2 B
MethodParameters:
Name Flags
bytes1
offset1
bytes2
offset2
length
public static java.nio.ByteBuffer bytes(java.net.InetAddress);
descriptor: (Ljava/net/InetAddress;)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.net.InetAddress.getAddress:()[B
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 address Ljava/net/InetAddress;
MethodParameters:
Name Flags
address
public static java.nio.ByteBuffer bytes(java.util.UUID);
descriptor: (Ljava/util/UUID;)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.apache.cassandra.utils.UUIDGen.decompose:(Ljava/util/UUID;)[B
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 uuid Ljava/util/UUID;
MethodParameters:
Name Flags
uuid
public static boolean isPrefix(java.nio.ByteBuffer, java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
if_icmple 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
isub
istore 2
start local 2 3: aload 0
aload 1
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
iload 2
isub
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
invokevirtual java.nio.ByteBuffer.equals:(Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 prefix Ljava/nio/ByteBuffer;
0 4 1 value Ljava/nio/ByteBuffer;
3 4 2 diff I
MethodParameters:
Name Flags
prefix
value
public static java.nio.ByteBuffer minimalBufferFor(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.ByteBuffer.capacity:()I
aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
if_icmpgt 1
aload 0
invokevirtual java.nio.ByteBuffer.hasArray:()Z
ifne 2
StackMap locals:
StackMap stack:
1: aload 0
invokestatic org.apache.cassandra.utils.ByteBufferUtil.getArray:(Ljava/nio/ByteBuffer;)[B
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
goto 3
StackMap locals:
StackMap stack:
2: aload 0
StackMap locals:
StackMap stack: java.nio.ByteBuffer
3: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 buf Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buf
public static int getShortLength(java.nio.ByteBuffer, int);
descriptor: (Ljava/nio/ByteBuffer;I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual java.nio.ByteBuffer.get:(I)B
sipush 255
iand
bipush 8
ishl
istore 2
start local 2 1: iload 2
aload 0
iload 1
iconst_1
iadd
invokevirtual java.nio.ByteBuffer.get:(I)B
sipush 255
iand
ior
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 bb Ljava/nio/ByteBuffer;
0 2 1 position I
1 2 2 length I
MethodParameters:
Name Flags
bb
position
public static int readShortLength(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.ByteBuffer.get:()B
sipush 255
iand
bipush 8
ishl
istore 1
start local 1 1: iload 1
aload 0
invokevirtual java.nio.ByteBuffer.get:()B
sipush 255
iand
ior
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 bb Ljava/nio/ByteBuffer;
1 2 1 length I
MethodParameters:
Name Flags
bb
public static void writeShortLength(java.nio.ByteBuffer, int);
descriptor: (Ljava/nio/ByteBuffer;I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
bipush 8
ishr
sipush 255
iand
i2b
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
1: aload 0
iload 1
sipush 255
iand
i2b
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 bb Ljava/nio/ByteBuffer;
0 3 1 length I
MethodParameters:
Name Flags
bb
length
public static java.nio.ByteBuffer readBytes(java.nio.ByteBuffer, int);
descriptor: (Ljava/nio/ByteBuffer;I)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
astore 2
start local 2 1: aload 2
aload 2
invokevirtual java.nio.ByteBuffer.position:()I
iload 1
iadd
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
2: aload 0
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
iload 1
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
3: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 bb Ljava/nio/ByteBuffer;
0 4 1 length I
1 4 2 copy Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
bb
length
public static java.nio.ByteBuffer readBytesWithShortLength(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokestatic org.apache.cassandra.utils.ByteBufferUtil.readShortLength:(Ljava/nio/ByteBuffer;)I
istore 1
start local 1 1: aload 0
iload 1
invokestatic org.apache.cassandra.utils.ByteBufferUtil.readBytes:(Ljava/nio/ByteBuffer;I)Ljava/nio/ByteBuffer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 bb Ljava/nio/ByteBuffer;
1 2 1 length I
MethodParameters:
Name Flags
bb
public static java.nio.ByteBuffer ensureCapacity(java.nio.ByteBuffer, int, boolean);
descriptor: (Ljava/nio/ByteBuffer;IZ)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ifnull 1
aload 0
invokestatic org.apache.cassandra.io.compress.BufferType.typeOf:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/io/compress/BufferType;
goto 2
StackMap locals:
StackMap stack:
1: getstatic org.apache.cassandra.io.compress.BufferType.ON_HEAP:Lorg/apache/cassandra/io/compress/BufferType;
StackMap locals:
StackMap stack: org.apache.cassandra.io.compress.BufferType
2: astore 3
start local 3 3: aload 0
iload 1
iload 2
aload 3
invokestatic org.apache.cassandra.utils.ByteBufferUtil.ensureCapacity:(Ljava/nio/ByteBuffer;IZLorg/apache/cassandra/io/compress/BufferType;)Ljava/nio/ByteBuffer;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 buf Ljava/nio/ByteBuffer;
0 4 1 outputLength I
0 4 2 allowBufferResize Z
3 4 3 bufferType Lorg/apache/cassandra/io/compress/BufferType;
MethodParameters:
Name Flags
buf
outputLength
allowBufferResize
public static java.nio.ByteBuffer ensureCapacity(java.nio.ByteBuffer, int, boolean, org.apache.cassandra.io.compress.BufferType);
descriptor: (Ljava/nio/ByteBuffer;IZLorg/apache/cassandra/io/compress/BufferType;)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 1
ifge 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "invalid size for output buffer: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
ifnull 3
aload 0
invokevirtual java.nio.ByteBuffer.capacity:()I
iload 1
if_icmpge 8
3: StackMap locals:
StackMap stack:
iload 2
ifne 5
4: new java.lang.IllegalStateException
dup
ldc "output buffer is not large enough for data: current capacity %d, required %d"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.nio.ByteBuffer.capacity:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
invokestatic org.apache.cassandra.io.util.FileUtils.clean:(Ljava/nio/ByteBuffer;)V
6: aload 3
iload 1
invokevirtual org.apache.cassandra.io.compress.BufferType.allocate:(I)Ljava/nio/ByteBuffer;
astore 0
7: goto 9
8: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
iload 1
invokevirtual java.nio.Buffer.limit:(I)Ljava/nio/Buffer;
pop
9: StackMap locals:
StackMap stack:
aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 buf Ljava/nio/ByteBuffer;
0 10 1 outputLength I
0 10 2 allowBufferResize Z
0 10 3 bufferType Lorg/apache/cassandra/io/compress/BufferType;
MethodParameters:
Name Flags
buf
outputLength
allowBufferResize
bufferType
public static boolean contains(java.nio.ByteBuffer, java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=9, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 2
start local 2 1: aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
iload 2
isub
ifge 3
2: iconst_0
ireturn
3: StackMap locals: int
StackMap stack:
aload 1
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
invokevirtual java.nio.ByteBuffer.get:(I)B
istore 3
start local 3 4: aload 0
invokevirtual java.nio.ByteBuffer.position:()I
aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
iload 2
isub
iadd
istore 4
start local 4 5: aload 0
invokevirtual java.nio.ByteBuffer.position:()I
istore 5
start local 5 6: goto 19
7: StackMap locals: int int int
StackMap stack:
aload 0
iload 5
invokevirtual java.nio.ByteBuffer.get:(I)B
iload 3
if_icmpeq 9
8: StackMap locals:
StackMap stack:
iinc 5 1
iload 5
iload 4
if_icmpgt 9
aload 0
iload 5
invokevirtual java.nio.ByteBuffer.get:(I)B
iload 3
if_icmpne 8
9: StackMap locals:
StackMap stack:
iload 5
iload 4
if_icmpgt 18
10: iload 5
iconst_1
iadd
istore 6
start local 6 11: iload 6
iload 2
iadd
iconst_1
isub
istore 7
start local 7 12: iconst_1
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
iadd
istore 8
start local 8 13: goto 15
StackMap locals: int int int
StackMap stack:
14: iinc 6 1
iinc 8 1
StackMap locals:
StackMap stack:
15: iload 6
iload 7
if_icmpge 16
aload 0
iload 6
invokevirtual java.nio.ByteBuffer.get:(I)B
aload 1
iload 8
invokevirtual java.nio.ByteBuffer.get:(I)B
if_icmpeq 14
end local 8 16: StackMap locals:
StackMap stack:
iload 6
iload 7
if_icmpne 18
17: iconst_1
ireturn
end local 7 end local 6 18: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
19: iload 5
iload 4
if_icmple 7
end local 5 20: iconst_0
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 buffer Ljava/nio/ByteBuffer;
0 21 1 subBuffer Ljava/nio/ByteBuffer;
1 21 2 len I
4 21 3 first B
5 21 4 max I
6 20 5 i I
11 18 6 j I
12 18 7 end I
13 16 8 k I
MethodParameters:
Name Flags
buffer
subBuffer
public static boolean startsWith(java.nio.ByteBuffer, java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokestatic org.apache.cassandra.utils.ByteBufferUtil.startsWith:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;I)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 src Ljava/nio/ByteBuffer;
0 1 1 prefix Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
src
prefix
public static boolean endsWith(java.nio.ByteBuffer, java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
isub
invokestatic org.apache.cassandra.utils.ByteBufferUtil.startsWith:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;I)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 src Ljava/nio/ByteBuffer;
0 1 1 suffix Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
src
suffix
private static boolean startsWith(java.nio.ByteBuffer, java.nio.ByteBuffer, int);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;I)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifge 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
iload 2
iadd
istore 3
start local 3 3: aload 1
invokevirtual java.nio.ByteBuffer.position:()I
istore 4
start local 4 4: aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
iload 2
isub
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
if_icmpge 6
5: iconst_0
ireturn
6: StackMap locals: int int
StackMap stack:
aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
iload 2
isub
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
invokestatic java.lang.Math.min:(II)I
istore 5
start local 5 7: goto 10
8: StackMap locals: int
StackMap stack:
aload 0
iload 3
iinc 3 1
invokevirtual java.nio.ByteBuffer.get:(I)B
aload 1
iload 4
iinc 4 1
invokevirtual java.nio.ByteBuffer.get:(I)B
if_icmpeq 10
9: iconst_0
ireturn
10: StackMap locals:
StackMap stack:
iload 5
iinc 5 -1
ifgt 8
11: iconst_1
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 src Ljava/nio/ByteBuffer;
0 12 1 prefix Ljava/nio/ByteBuffer;
0 12 2 offset I
3 12 3 sPos I
4 12 4 pPos I
7 12 5 len I
MethodParameters:
Name Flags
src
prefix
offset
}
SourceFile: "ByteBufferUtil.java"
NestMembers:
org.apache.cassandra.utils.ByteBufferUtil$1
InnerClasses:
org.apache.cassandra.utils.ByteBufferUtil$1