final class com.sun.glass.ui.win.WinHTMLCodec
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.glass.ui.win.WinHTMLCodec
super_class: java.lang.Object
{
public static final java.lang.String defaultCharset;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "UTF-8"
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/win/WinHTMLCodec;
public static byte[] encode(byte[]);
descriptor: ([B)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.sun.glass.ui.win.HTMLCodec.convertToHTMLFormat:([B)[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 html [B
MethodParameters:
Name Flags
html
public static byte[] decode(byte[]);
descriptor: ([B)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: new java.io.ByteArrayInputStream
dup
aload 0
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
astore 1
start local 1 1: new com.sun.glass.ui.win.HTMLCodec
dup
aload 1
getstatic com.sun.glass.ui.win.EHTMLReadMode.HTML_READ_SELECTION:Lcom/sun/glass/ui/win/EHTMLReadMode;
invokespecial com.sun.glass.ui.win.HTMLCodec.<init>:(Ljava/io/InputStream;Lcom/sun/glass/ui/win/EHTMLReadMode;)V
astore 2
start local 2 2: new java.io.ByteArrayOutputStream
dup
aload 0
arraylength
invokespecial java.io.ByteArrayOutputStream.<init>:(I)V
astore 3
start local 3 3: goto 5
start local 4 4: StackMap locals: byte[] java.io.ByteArrayInputStream java.io.InputStream java.io.ByteArrayOutputStream int
StackMap stack:
aload 3
iload 4
invokevirtual java.io.ByteArrayOutputStream.write:(I)V
end local 4 5: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.io.InputStream.read:()I
dup
istore 4
start local 4 6: iconst_m1
if_icmpne 4
7: aload 3
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
8: areturn
end local 4 end local 3 end local 2 end local 1 9: StackMap locals: byte[]
StackMap stack: java.io.IOException
astore 1
start local 1 10: new java.lang.RuntimeException
dup
ldc "Unexpected IOException caught"
aload 1
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 data [B
1 9 1 bais Ljava/io/ByteArrayInputStream;
2 9 2 is Ljava/io/InputStream;
3 9 3 baos Ljava/io/ByteArrayOutputStream;
4 5 4 b I
6 9 4 b I
10 11 1 ex Ljava/io/IOException;
Exception table:
from to target type
0 8 9 Class java.io.IOException
MethodParameters:
Name Flags
data
}
SourceFile: "WinHTMLCodec.java"