public class com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream extends java.io.OutputStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream
super_class: java.io.OutputStream
{
private static final int INITIAL_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8192
private byte[] buf;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private int size;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int pos;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.io.OutputStream.<init>:()V
1: aload 0
sipush 8192
putfield com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.size:I
2: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.pos:I
3: aload 0
sipush 8192
newarray 8
putfield com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.buf:[B
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/org/apache/xml/internal/security/utils/UnsyncByteArrayOutputStream;
public void write(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: ldc 2147483647
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.pos:I
isub
aload 1
arraylength
if_icmpge 2
1: new java.lang.OutOfMemoryError
dup
invokespecial java.lang.OutOfMemoryError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.pos:I
aload 1
arraylength
iadd
istore 2
start local 2 3: iload 2
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.size:I
if_icmple 5
4: aload 0
iload 2
invokevirtual com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.expandSize:(I)V
5: StackMap locals: int
StackMap stack:
aload 1
iconst_0
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.buf:[B
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.pos:I
aload 1
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
6: aload 0
iload 2
putfield com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.pos:I
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/org/apache/xml/internal/security/utils/UnsyncByteArrayOutputStream;
0 8 1 arg0 [B
3 8 2 newPos I
MethodParameters:
Name Flags
arg0
public void write(byte[], int, int);
descriptor: ([BII)V
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: ldc 2147483647
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.pos:I
isub
iload 3
if_icmpge 2
1: new java.lang.OutOfMemoryError
dup
invokespecial java.lang.OutOfMemoryError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.pos:I
iload 3
iadd
istore 4
start local 4 3: iload 4
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.size:I
if_icmple 5
4: aload 0
iload 4
invokevirtual com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.expandSize:(I)V
5: StackMap locals: int
StackMap stack:
aload 1
iload 2
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.buf:[B
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.pos:I
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
6: aload 0
iload 4
putfield com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.pos:I
7: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/org/apache/xml/internal/security/utils/UnsyncByteArrayOutputStream;
0 8 1 arg0 [B
0 8 2 arg1 I
0 8 3 arg2 I
3 8 4 newPos I
MethodParameters:
Name Flags
arg0
arg1
arg2
public void write(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: ldc 2147483647
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.pos:I
isub
ifne 2
1: new java.lang.OutOfMemoryError
dup
invokespecial java.lang.OutOfMemoryError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.pos:I
iconst_1
iadd
istore 2
start local 2 3: iload 2
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.size:I
if_icmple 5
4: aload 0
iload 2
invokevirtual com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.expandSize:(I)V
5: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.buf:[B
aload 0
dup
getfield com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.pos:I
dup_x1
iconst_1
iadd
putfield com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.pos:I
iload 1
i2b
bastore
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/org/apache/xml/internal/security/utils/UnsyncByteArrayOutputStream;
0 7 1 arg0 I
3 7 2 newPos I
MethodParameters:
Name Flags
arg0
public byte[] toByteArray();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.pos:I
newarray 8
astore 1
start local 1 1: aload 0
getfield com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.buf:[B
iconst_0
aload 1
iconst_0
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.pos:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/xml/internal/security/utils/UnsyncByteArrayOutputStream;
1 3 1 result [B
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.pos:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/security/utils/UnsyncByteArrayOutputStream;
private void expandSize(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.size:I
istore 2
start local 2 1: goto 5
2: StackMap locals: int
StackMap stack:
iload 2
iconst_1
ishl
istore 2
3: iload 2
ifge 5
4: ldc 2147483647
istore 2
5: StackMap locals:
StackMap stack:
iload 1
iload 2
if_icmpgt 2
6: iload 2
newarray 8
astore 3
start local 3 7: aload 0
getfield com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.buf:[B
iconst_0
aload 3
iconst_0
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.pos:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
8: aload 0
aload 3
putfield com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.buf:[B
9: aload 0
iload 2
putfield com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.size:I
10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/org/apache/xml/internal/security/utils/UnsyncByteArrayOutputStream;
0 11 1 newPos I
1 11 2 newSize I
7 11 3 newBuf [B
MethodParameters:
Name Flags
newPos
}
SourceFile: "UnsyncByteArrayOutputStream.java"