class android.os.MemoryFile$MemoryInputStream extends java.io.InputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: android.os.MemoryFile$MemoryInputStream
super_class: java.io.InputStream
{
private int mMark;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int mOffset;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private byte[] mSingleByte;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
final android.os.MemoryFile this$0;
descriptor: Landroid/os/MemoryFile;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(android.os.MemoryFile);
descriptor: (Landroid/os/MemoryFile;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield android.os.MemoryFile$MemoryInputStream.this$0:Landroid/os/MemoryFile;
aload 0
invokespecial java.io.InputStream.<init>:()V
1: aload 0
iconst_0
putfield android.os.MemoryFile$MemoryInputStream.mMark:I
2: aload 0
iconst_0
putfield android.os.MemoryFile$MemoryInputStream.mOffset:I
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Landroid/os/MemoryFile$MemoryInputStream;
MethodParameters:
Name Flags
this$0 final
public int available();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield android.os.MemoryFile$MemoryInputStream.mOffset:I
aload 0
getfield android.os.MemoryFile$MemoryInputStream.this$0:Landroid/os/MemoryFile;
getfield android.os.MemoryFile.mSharedMemory:Landroid/os/SharedMemory;
invokevirtual android.os.SharedMemory.getSize:()I
if_icmplt 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield android.os.MemoryFile$MemoryInputStream.this$0:Landroid/os/MemoryFile;
getfield android.os.MemoryFile.mSharedMemory:Landroid/os/SharedMemory;
invokevirtual android.os.SharedMemory.getSize:()I
aload 0
getfield android.os.MemoryFile$MemoryInputStream.mOffset:I
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Landroid/os/MemoryFile$MemoryInputStream;
Exceptions:
throws java.io.IOException
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 Landroid/os/MemoryFile$MemoryInputStream;
public void mark(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield android.os.MemoryFile$MemoryInputStream.mOffset:I
putfield android.os.MemoryFile$MemoryInputStream.mMark:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Landroid/os/MemoryFile$MemoryInputStream;
0 2 1 readlimit I
MethodParameters:
Name Flags
readlimit
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield android.os.MemoryFile$MemoryInputStream.mMark:I
putfield android.os.MemoryFile$MemoryInputStream.mOffset:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Landroid/os/MemoryFile$MemoryInputStream;
Exceptions:
throws java.io.IOException
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield android.os.MemoryFile$MemoryInputStream.mSingleByte:[B
ifnonnull 2
1: aload 0
iconst_1
newarray 8
putfield android.os.MemoryFile$MemoryInputStream.mSingleByte:[B
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield android.os.MemoryFile$MemoryInputStream.mSingleByte:[B
iconst_0
iconst_1
invokevirtual android.os.MemoryFile$MemoryInputStream.read:([BII)I
istore 1
start local 1 3: iload 1
iconst_1
if_icmpeq 5
4: iconst_m1
ireturn
5: StackMap locals: int
StackMap stack:
aload 0
getfield android.os.MemoryFile$MemoryInputStream.mSingleByte:[B
iconst_0
baload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Landroid/os/MemoryFile$MemoryInputStream;
3 6 1 result I
Exceptions:
throws java.io.IOException
public int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
iflt 1
iload 3
iflt 1
iload 2
iload 3
iadd
aload 1
arraylength
if_icmple 2
1: StackMap locals:
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
invokespecial java.lang.IndexOutOfBoundsException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
iload 3
aload 0
invokevirtual android.os.MemoryFile$MemoryInputStream.available:()I
invokestatic java.lang.Math.min:(II)I
istore 3
3: iload 3
iconst_1
if_icmpge 5
4: iconst_m1
ireturn
5: StackMap locals:
StackMap stack:
aload 0
getfield android.os.MemoryFile$MemoryInputStream.this$0:Landroid/os/MemoryFile;
aload 1
aload 0
getfield android.os.MemoryFile$MemoryInputStream.mOffset:I
iload 2
iload 3
invokevirtual android.os.MemoryFile.readBytes:([BIII)I
istore 4
start local 4 6: iload 4
ifle 8
7: aload 0
dup
getfield android.os.MemoryFile$MemoryInputStream.mOffset:I
iload 4
iadd
putfield android.os.MemoryFile$MemoryInputStream.mOffset:I
8: StackMap locals: int
StackMap stack:
iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Landroid/os/MemoryFile$MemoryInputStream;
0 9 1 buffer [B
0 9 2 offset I
0 9 3 count I
6 9 4 result I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buffer
offset
count
public long skip(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield android.os.MemoryFile$MemoryInputStream.mOffset:I
i2l
lload 1
ladd
aload 0
getfield android.os.MemoryFile$MemoryInputStream.this$0:Landroid/os/MemoryFile;
getfield android.os.MemoryFile.mSharedMemory:Landroid/os/SharedMemory;
invokevirtual android.os.SharedMemory.getSize:()I
i2l
lcmp
ifle 2
1: aload 0
getfield android.os.MemoryFile$MemoryInputStream.this$0:Landroid/os/MemoryFile;
getfield android.os.MemoryFile.mSharedMemory:Landroid/os/SharedMemory;
invokevirtual android.os.SharedMemory.getSize:()I
aload 0
getfield android.os.MemoryFile$MemoryInputStream.mOffset:I
isub
i2l
lstore 1
2: StackMap locals:
StackMap stack:
aload 0
dup
getfield android.os.MemoryFile$MemoryInputStream.mOffset:I
i2l
lload 1
ladd
l2i
putfield android.os.MemoryFile$MemoryInputStream.mOffset:I
3: lload 1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Landroid/os/MemoryFile$MemoryInputStream;
0 4 1 n J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
n
}
SourceFile: "MemoryFile.java"
NestHost: android.os.MemoryFile
InnerClasses:
private MemoryInputStream = android.os.MemoryFile$MemoryInputStream of android.os.MemoryFile