class com.sun.media.sound.RIFFWriter$RandomAccessByteWriter implements com.sun.media.sound.RIFFWriter$RandomAccessWriter
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.media.sound.RIFFWriter$RandomAccessByteWriter
super_class: java.lang.Object
{
byte[] buff;
descriptor: [B
flags: (0x0000)
int length;
descriptor: I
flags: (0x0000)
int pos;
descriptor: I
flags: (0x0000)
byte[] s;
descriptor: [B
flags: (0x0000)
final java.io.OutputStream stream;
descriptor: Ljava/io/OutputStream;
flags: (0x0010) ACC_FINAL
void <init>(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
bipush 32
newarray 8
putfield com.sun.media.sound.RIFFWriter$RandomAccessByteWriter.buff:[B
2: aload 0
iconst_0
putfield com.sun.media.sound.RIFFWriter$RandomAccessByteWriter.length:I
3: aload 0
iconst_0
putfield com.sun.media.sound.RIFFWriter$RandomAccessByteWriter.pos:I
4: aload 0
aload 1
putfield com.sun.media.sound.RIFFWriter$RandomAccessByteWriter.stream:Ljava/io/OutputStream;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/media/sound/RIFFWriter$RandomAccessByteWriter;
0 6 1 stream Ljava/io/OutputStream;
MethodParameters:
Name Flags
stream
public void seek(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
lload 1
l2i
putfield com.sun.media.sound.RIFFWriter$RandomAccessByteWriter.pos:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/RIFFWriter$RandomAccessByteWriter;
0 2 1 chunksizepointer J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
chunksizepointer
public long getPointer();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.RIFFWriter$RandomAccessByteWriter.pos:I
i2l
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/RIFFWriter$RandomAccessByteWriter;
Exceptions:
throws java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.RIFFWriter$RandomAccessByteWriter.stream:Ljava/io/OutputStream;
aload 0
getfield com.sun.media.sound.RIFFWriter$RandomAccessByteWriter.buff:[B
iconst_0
aload 0
getfield com.sun.media.sound.RIFFWriter$RandomAccessByteWriter.length:I
invokevirtual java.io.OutputStream.write:([BII)V
1: aload 0
getfield com.sun.media.sound.RIFFWriter$RandomAccessByteWriter.stream:Ljava/io/OutputStream;
invokevirtual java.io.OutputStream.close:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/media/sound/RIFFWriter$RandomAccessByteWriter;
Exceptions:
throws java.io.IOException
public void write(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.media.sound.RIFFWriter$RandomAccessByteWriter.s:[B
ifnonnull 2
1: aload 0
iconst_1
newarray 8
putfield com.sun.media.sound.RIFFWriter$RandomAccessByteWriter.s:[B
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.RIFFWriter$RandomAccessByteWriter.s:[B
iconst_0
iload 1
i2b
bastore
3: aload 0
aload 0
getfield com.sun.media.sound.RIFFWriter$RandomAccessByteWriter.s:[B
iconst_0
iconst_1
invokevirtual com.sun.media.sound.RIFFWriter$RandomAccessByteWriter.write:([BII)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/media/sound/RIFFWriter$RandomAccessByteWriter;
0 5 1 b I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
public void write(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.media.sound.RIFFWriter$RandomAccessByteWriter.pos:I
iload 3
iadd
istore 4
start local 4 1: iload 4
aload 0
getfield com.sun.media.sound.RIFFWriter$RandomAccessByteWriter.length:I
if_icmple 3
2: aload 0
iload 4
i2l
invokevirtual com.sun.media.sound.RIFFWriter$RandomAccessByteWriter.setLength:(J)V
3: StackMap locals: int
StackMap stack:
iload 2
iload 3
iadd
istore 5
start local 5 4: iload 2
istore 6
start local 6 5: goto 8
6: StackMap locals: int int
StackMap stack:
aload 0
getfield com.sun.media.sound.RIFFWriter$RandomAccessByteWriter.buff:[B
aload 0
dup
getfield com.sun.media.sound.RIFFWriter$RandomAccessByteWriter.pos:I
dup_x1
iconst_1
iadd
putfield com.sun.media.sound.RIFFWriter$RandomAccessByteWriter.pos:I
aload 1
iload 6
baload
bastore
7: iinc 6 1
StackMap locals:
StackMap stack:
8: iload 6
iload 5
if_icmplt 6
end local 6 9: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/media/sound/RIFFWriter$RandomAccessByteWriter;
0 10 1 b [B
0 10 2 off I
0 10 3 len I
1 10 4 newsize I
4 10 5 end I
5 9 6 i 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=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 1
arraylength
invokevirtual com.sun.media.sound.RIFFWriter$RandomAccessByteWriter.write:([BII)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/RIFFWriter$RandomAccessByteWriter;
0 2 1 bytes [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
bytes
public long length();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.RIFFWriter$RandomAccessByteWriter.length:I
i2l
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/RIFFWriter$RandomAccessByteWriter;
Exceptions:
throws java.io.IOException
public void setLength(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
lload 1
l2i
putfield com.sun.media.sound.RIFFWriter$RandomAccessByteWriter.length:I
1: aload 0
getfield com.sun.media.sound.RIFFWriter$RandomAccessByteWriter.length:I
aload 0
getfield com.sun.media.sound.RIFFWriter$RandomAccessByteWriter.buff:[B
arraylength
if_icmple 6
2: aload 0
getfield com.sun.media.sound.RIFFWriter$RandomAccessByteWriter.buff:[B
arraylength
iconst_1
ishl
aload 0
getfield com.sun.media.sound.RIFFWriter$RandomAccessByteWriter.length:I
invokestatic java.lang.Math.max:(II)I
istore 3
start local 3 3: iload 3
newarray 8
astore 4
start local 4 4: aload 0
getfield com.sun.media.sound.RIFFWriter$RandomAccessByteWriter.buff:[B
iconst_0
aload 4
iconst_0
aload 0
getfield com.sun.media.sound.RIFFWriter$RandomAccessByteWriter.buff:[B
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
5: aload 0
aload 4
putfield com.sun.media.sound.RIFFWriter$RandomAccessByteWriter.buff:[B
end local 4 end local 3 6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/media/sound/RIFFWriter$RandomAccessByteWriter;
0 7 1 i J
3 6 3 newlen I
4 6 4 newbuff [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
i
}
SourceFile: "RIFFWriter.java"
NestHost: com.sun.media.sound.RIFFWriter
InnerClasses:
private RandomAccessByteWriter = com.sun.media.sound.RIFFWriter$RandomAccessByteWriter of com.sun.media.sound.RIFFWriter
private abstract RandomAccessWriter = com.sun.media.sound.RIFFWriter$RandomAccessWriter of com.sun.media.sound.RIFFWriter