class com.google.protobuf.NioByteString$1 extends java.io.InputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.google.protobuf.NioByteString$1
super_class: java.io.InputStream
{
private final java.nio.ByteBuffer buf;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final com.google.protobuf.NioByteString this$0;
descriptor: Lcom/google/protobuf/NioByteString;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(com.google.protobuf.NioByteString);
descriptor: (Lcom/google/protobuf/NioByteString;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield com.google.protobuf.NioByteString$1.this$0:Lcom/google/protobuf/NioByteString;
aload 0
invokespecial java.io.InputStream.<init>:()V
1: aload 0
aload 1
getfield com.google.protobuf.NioByteString.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.slice:()Ljava/nio/ByteBuffer;
putfield com.google.protobuf.NioByteString$1.buf:Ljava/nio/ByteBuffer;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/protobuf/NioByteString$1;
MethodParameters:
Name Flags
this$0 final
public void mark(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.protobuf.NioByteString$1.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.mark:()Ljava/nio/Buffer;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/protobuf/NioByteString$1;
0 2 1 readlimit I
MethodParameters:
Name Flags
readlimit
public boolean markSupported();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/protobuf/NioByteString$1;
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.google.protobuf.NioByteString$1.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.reset:()Ljava/nio/Buffer;
pop
1: goto 4
StackMap locals:
StackMap stack: java.nio.InvalidMarkException
2: astore 1
start local 1 3: new java.io.IOException
dup
aload 1
invokespecial java.io.IOException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/protobuf/NioByteString$1;
3 4 1 e Ljava/nio/InvalidMarkException;
Exception table:
from to target type
0 1 2 Class java.nio.InvalidMarkException
Exceptions:
throws java.io.IOException
public int available();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.protobuf.NioByteString$1.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/protobuf/NioByteString$1;
Exceptions:
throws java.io.IOException
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.protobuf.NioByteString$1.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.google.protobuf.NioByteString$1.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.get:()B
sipush 255
iand
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/protobuf/NioByteString$1;
Exceptions:
throws java.io.IOException
public int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.google.protobuf.NioByteString$1.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
iload 3
aload 0
getfield com.google.protobuf.NioByteString$1.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
invokestatic java.lang.Math.min:(II)I
istore 3
3: aload 0
getfield com.google.protobuf.NioByteString$1.buf:Ljava/nio/ByteBuffer;
aload 1
iload 2
iload 3
invokevirtual java.nio.ByteBuffer.get:([BII)Ljava/nio/ByteBuffer;
pop
4: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/protobuf/NioByteString$1;
0 5 1 bytes [B
0 5 2 off I
0 5 3 len I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
bytes
off
len
}
SourceFile: "NioByteString.java"
EnclosingMethod: com.google.protobuf.NioByteString.newInput:()Ljava/io/InputStream;
NestHost: com.google.protobuf.NioByteString
InnerClasses:
com.google.protobuf.NioByteString$1