public class java.io.BufferedOutputStream extends java.io.FilterOutputStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.io.BufferedOutputStream
super_class: java.io.FilterOutputStream
{
protected byte[] buf;
descriptor: [B
flags: (0x0004) ACC_PROTECTED
protected int count;
descriptor: I
flags: (0x0004) ACC_PROTECTED
public void <init>(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
sipush 8192
invokespecial java.io.BufferedOutputStream.<init>:(Ljava/io/OutputStream;I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/io/BufferedOutputStream;
0 2 1 out Ljava/io/OutputStream;
MethodParameters:
Name Flags
out
public void <init>(java.io.OutputStream, int);
descriptor: (Ljava/io/OutputStream;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial java.io.FilterOutputStream.<init>:(Ljava/io/OutputStream;)V
1: iload 2
ifgt 3
2: new java.lang.IllegalArgumentException
dup
ldc "Buffer size <= 0"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.io.BufferedOutputStream java.io.OutputStream int
StackMap stack:
aload 0
iload 2
newarray 8
putfield java.io.BufferedOutputStream.buf:[B
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/io/BufferedOutputStream;
0 5 1 out Ljava/io/OutputStream;
0 5 2 size I
MethodParameters:
Name Flags
out
size
private void flushBuffer();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield java.io.BufferedOutputStream.count:I
ifle 3
1: aload 0
getfield java.io.BufferedOutputStream.out:Ljava/io/OutputStream;
aload 0
getfield java.io.BufferedOutputStream.buf:[B
iconst_0
aload 0
getfield java.io.BufferedOutputStream.count:I
invokevirtual java.io.OutputStream.write:([BII)V
2: aload 0
iconst_0
putfield java.io.BufferedOutputStream.count:I
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/io/BufferedOutputStream;
Exceptions:
throws java.io.IOException
public synchronized void write(int);
descriptor: (I)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.io.BufferedOutputStream.count:I
aload 0
getfield java.io.BufferedOutputStream.buf:[B
arraylength
if_icmplt 2
1: aload 0
invokevirtual java.io.BufferedOutputStream.flushBuffer:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield java.io.BufferedOutputStream.buf:[B
aload 0
dup
getfield java.io.BufferedOutputStream.count:I
dup_x1
iconst_1
iadd
putfield java.io.BufferedOutputStream.count:I
iload 1
i2b
bastore
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/io/BufferedOutputStream;
0 4 1 b I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
public synchronized void write(byte[], int, int);
descriptor: ([BII)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
aload 0
getfield java.io.BufferedOutputStream.buf:[B
arraylength
if_icmplt 4
1: aload 0
invokevirtual java.io.BufferedOutputStream.flushBuffer:()V
2: aload 0
getfield java.io.BufferedOutputStream.out:Ljava/io/OutputStream;
aload 1
iload 2
iload 3
invokevirtual java.io.OutputStream.write:([BII)V
3: return
4: StackMap locals:
StackMap stack:
iload 3
aload 0
getfield java.io.BufferedOutputStream.buf:[B
arraylength
aload 0
getfield java.io.BufferedOutputStream.count:I
isub
if_icmple 6
5: aload 0
invokevirtual java.io.BufferedOutputStream.flushBuffer:()V
6: StackMap locals:
StackMap stack:
aload 1
iload 2
aload 0
getfield java.io.BufferedOutputStream.buf:[B
aload 0
getfield java.io.BufferedOutputStream.count:I
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
7: aload 0
dup
getfield java.io.BufferedOutputStream.count:I
iload 3
iadd
putfield java.io.BufferedOutputStream.count:I
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/io/BufferedOutputStream;
0 9 1 b [B
0 9 2 off I
0 9 3 len I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public synchronized void flush();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.io.BufferedOutputStream.flushBuffer:()V
1: aload 0
getfield java.io.BufferedOutputStream.out:Ljava/io/OutputStream;
invokevirtual java.io.OutputStream.flush:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/io/BufferedOutputStream;
Exceptions:
throws java.io.IOException
}
SourceFile: "BufferedOutputStream.java"