public class io.netty.buffer.ByteBufOutputStream extends java.io.OutputStream implements java.io.DataOutput
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.netty.buffer.ByteBufOutputStream
super_class: java.io.OutputStream
{
private final io.netty.buffer.ByteBuf buffer;
descriptor: Lio/netty/buffer/ByteBuf;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int startIndex;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.io.DataOutputStream utf8out;
descriptor: Ljava/io/DataOutputStream;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(io.netty.buffer.ByteBuf);
descriptor: (Lio/netty/buffer/ByteBuf;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.io.OutputStream.<init>:()V
1: aload 0
new java.io.DataOutputStream
dup
aload 0
invokespecial java.io.DataOutputStream.<init>:(Ljava/io/OutputStream;)V
putfield io.netty.buffer.ByteBufOutputStream.utf8out:Ljava/io/DataOutputStream;
2: aload 1
ifnonnull 4
3: new java.lang.NullPointerException
dup
ldc "buffer"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: io.netty.buffer.ByteBufOutputStream io.netty.buffer.ByteBuf
StackMap stack:
aload 0
aload 1
putfield io.netty.buffer.ByteBufOutputStream.buffer:Lio/netty/buffer/ByteBuf;
5: aload 0
aload 1
invokevirtual io.netty.buffer.ByteBuf.writerIndex:()I
putfield io.netty.buffer.ByteBufOutputStream.startIndex:I
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/netty/buffer/ByteBufOutputStream;
0 7 1 buffer Lio/netty/buffer/ByteBuf;
MethodParameters:
Name Flags
buffer
public int writtenBytes();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.buffer.ByteBufOutputStream.buffer:Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.writerIndex:()I
aload 0
getfield io.netty.buffer.ByteBufOutputStream.startIndex:I
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/ByteBufOutputStream;
public void write(byte[], int, int);
descriptor: ([BII)V
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: iload 3
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.buffer.ByteBufOutputStream.buffer:Lio/netty/buffer/ByteBuf;
aload 1
iload 2
iload 3
invokevirtual io.netty.buffer.ByteBuf.writeBytes:([BII)Lio/netty/buffer/ByteBuf;
pop
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/buffer/ByteBufOutputStream;
0 4 1 b [B
0 4 2 off I
0 4 3 len I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public void write(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.buffer.ByteBufOutputStream.buffer:Lio/netty/buffer/ByteBuf;
aload 1
invokevirtual io.netty.buffer.ByteBuf.writeBytes:([B)Lio/netty/buffer/ByteBuf;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/ByteBufOutputStream;
0 2 1 b [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
public void write(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
getfield io.netty.buffer.ByteBufOutputStream.buffer:Lio/netty/buffer/ByteBuf;
iload 1
invokevirtual io.netty.buffer.ByteBuf.writeByte:(I)Lio/netty/buffer/ByteBuf;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/ByteBufOutputStream;
0 2 1 b I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
public void writeBoolean(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.buffer.ByteBufOutputStream.buffer:Lio/netty/buffer/ByteBuf;
iload 1
invokevirtual io.netty.buffer.ByteBuf.writeBoolean:(Z)Lio/netty/buffer/ByteBuf;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/ByteBufOutputStream;
0 2 1 v Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
v
public void writeByte(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
getfield io.netty.buffer.ByteBufOutputStream.buffer:Lio/netty/buffer/ByteBuf;
iload 1
invokevirtual io.netty.buffer.ByteBuf.writeByte:(I)Lio/netty/buffer/ByteBuf;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/ByteBufOutputStream;
0 2 1 v I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
v
public void writeBytes(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.buffer.ByteBufOutputStream.buffer:Lio/netty/buffer/ByteBuf;
aload 1
getstatic io.netty.util.CharsetUtil.US_ASCII:Ljava/nio/charset/Charset;
invokevirtual io.netty.buffer.ByteBuf.writeCharSequence:(Ljava/lang/CharSequence;Ljava/nio/charset/Charset;)I
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/ByteBufOutputStream;
0 2 1 s Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
public void writeChar(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
getfield io.netty.buffer.ByteBufOutputStream.buffer:Lio/netty/buffer/ByteBuf;
iload 1
invokevirtual io.netty.buffer.ByteBuf.writeChar:(I)Lio/netty/buffer/ByteBuf;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/ByteBufOutputStream;
0 2 1 v I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
v
public void writeChars(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.String.length:()I
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 5
3: StackMap locals: int int
StackMap stack:
aload 0
getfield io.netty.buffer.ByteBufOutputStream.buffer:Lio/netty/buffer/ByteBuf;
aload 1
iload 3
invokevirtual java.lang.String.charAt:(I)C
invokevirtual io.netty.buffer.ByteBuf.writeChar:(I)Lio/netty/buffer/ByteBuf;
pop
4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 2
if_icmplt 3
end local 3 6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/netty/buffer/ByteBufOutputStream;
0 7 1 s Ljava/lang/String;
1 7 2 len I
2 6 3 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
public void writeDouble(double);
descriptor: (D)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.buffer.ByteBufOutputStream.buffer:Lio/netty/buffer/ByteBuf;
dload 1
invokevirtual io.netty.buffer.ByteBuf.writeDouble:(D)Lio/netty/buffer/ByteBuf;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/ByteBufOutputStream;
0 2 1 v D
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
v
public void writeFloat(float);
descriptor: (F)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.buffer.ByteBufOutputStream.buffer:Lio/netty/buffer/ByteBuf;
fload 1
invokevirtual io.netty.buffer.ByteBuf.writeFloat:(F)Lio/netty/buffer/ByteBuf;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/ByteBufOutputStream;
0 2 1 v F
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
v
public void writeInt(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
getfield io.netty.buffer.ByteBufOutputStream.buffer:Lio/netty/buffer/ByteBuf;
iload 1
invokevirtual io.netty.buffer.ByteBuf.writeInt:(I)Lio/netty/buffer/ByteBuf;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/ByteBufOutputStream;
0 2 1 v I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
v
public void writeLong(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.buffer.ByteBufOutputStream.buffer:Lio/netty/buffer/ByteBuf;
lload 1
invokevirtual io.netty.buffer.ByteBuf.writeLong:(J)Lio/netty/buffer/ByteBuf;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/ByteBufOutputStream;
0 2 1 v J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
v
public void writeShort(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
getfield io.netty.buffer.ByteBufOutputStream.buffer:Lio/netty/buffer/ByteBuf;
iload 1
i2s
invokevirtual io.netty.buffer.ByteBuf.writeShort:(I)Lio/netty/buffer/ByteBuf;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/ByteBufOutputStream;
0 2 1 v I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
v
public void writeUTF(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.buffer.ByteBufOutputStream.utf8out:Ljava/io/DataOutputStream;
aload 1
invokevirtual java.io.DataOutputStream.writeUTF:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/ByteBufOutputStream;
0 2 1 s Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
public io.netty.buffer.ByteBuf buffer();
descriptor: ()Lio/netty/buffer/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.buffer.ByteBufOutputStream.buffer:Lio/netty/buffer/ByteBuf;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/ByteBufOutputStream;
}
SourceFile: "ByteBufOutputStream.java"