public abstract class com.google.common.io.BaseEncoding
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.google.common.io.BaseEncoding
super_class: java.lang.Object
{
private static final com.google.common.io.BaseEncoding BASE64;
descriptor: Lcom/google/common/io/BaseEncoding;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final com.google.common.io.BaseEncoding BASE64_URL;
descriptor: Lcom/google/common/io/BaseEncoding;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final com.google.common.io.BaseEncoding BASE32;
descriptor: Lcom/google/common/io/BaseEncoding;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final com.google.common.io.BaseEncoding BASE32_HEX;
descriptor: Lcom/google/common/io/BaseEncoding;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final com.google.common.io.BaseEncoding BASE16;
descriptor: Lcom/google/common/io/BaseEncoding;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: new com.google.common.io.BaseEncoding$Base64Encoding
dup
1: ldc "base64()"
ldc "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
bipush 61
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
2: invokespecial com.google.common.io.BaseEncoding$Base64Encoding.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Character;)V
3: putstatic com.google.common.io.BaseEncoding.BASE64:Lcom/google/common/io/BaseEncoding;
4: new com.google.common.io.BaseEncoding$Base64Encoding
dup
5: ldc "base64Url()"
ldc "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"
bipush 61
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
6: invokespecial com.google.common.io.BaseEncoding$Base64Encoding.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Character;)V
7: putstatic com.google.common.io.BaseEncoding.BASE64_URL:Lcom/google/common/io/BaseEncoding;
8: new com.google.common.io.BaseEncoding$StandardBaseEncoding
dup
ldc "base32()"
ldc "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"
bipush 61
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
invokespecial com.google.common.io.BaseEncoding$StandardBaseEncoding.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Character;)V
9: putstatic com.google.common.io.BaseEncoding.BASE32:Lcom/google/common/io/BaseEncoding;
10: new com.google.common.io.BaseEncoding$StandardBaseEncoding
dup
ldc "base32Hex()"
ldc "0123456789ABCDEFGHIJKLMNOPQRSTUV"
bipush 61
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
invokespecial com.google.common.io.BaseEncoding$StandardBaseEncoding.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Character;)V
11: putstatic com.google.common.io.BaseEncoding.BASE32_HEX:Lcom/google/common/io/BaseEncoding;
12: new com.google.common.io.BaseEncoding$Base16Encoding
dup
ldc "base16()"
ldc "0123456789ABCDEF"
invokespecial com.google.common.io.BaseEncoding$Base16Encoding.<init>:(Ljava/lang/String;Ljava/lang/String;)V
putstatic com.google.common.io.BaseEncoding.BASE16:Lcom/google/common/io/BaseEncoding;
return
LocalVariableTable:
Start End Slot Name Signature
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/google/common/io/BaseEncoding;
public java.lang.String encode(byte[]);
descriptor: ([B)Ljava/lang/String;
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.google.common.io.BaseEncoding.encode:([BII)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/io/BaseEncoding;
0 1 1 bytes [B
MethodParameters:
Name Flags
bytes
public final java.lang.String encode(byte[], int, int);
descriptor: ([BII)Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
iload 2
iload 3
iadd
aload 1
arraylength
invokestatic com.google.common.base.Preconditions.checkPositionIndexes:(III)V
1: new java.lang.StringBuilder
dup
aload 0
iload 3
invokevirtual com.google.common.io.BaseEncoding.maxEncodedSize:(I)I
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 4
start local 4 2: aload 0
aload 4
aload 1
iload 2
iload 3
invokevirtual com.google.common.io.BaseEncoding.encodeTo:(Ljava/lang/Appendable;[BII)V
3: goto 6
StackMap locals: com.google.common.io.BaseEncoding byte[] int int java.lang.StringBuilder
StackMap stack: java.io.IOException
4: astore 5
start local 5 5: new java.lang.AssertionError
dup
aload 5
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 5 6: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/common/io/BaseEncoding;
0 7 1 bytes [B
0 7 2 off I
0 7 3 len I
2 7 4 result Ljava/lang/StringBuilder;
5 6 5 impossible Ljava/io/IOException;
Exception table:
from to target type
2 3 4 Class java.io.IOException
MethodParameters:
Name Flags
bytes
off
len
public abstract java.io.OutputStream encodingStream(java.io.Writer);
descriptor: (Ljava/io/Writer;)Ljava/io/OutputStream;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtIncompatible()
MethodParameters:
Name Flags
writer
public final com.google.common.io.ByteSink encodingSink(com.google.common.io.CharSink);
descriptor: (Lcom/google/common/io/CharSink;)Lcom/google/common/io/ByteSink;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: new com.google.common.io.BaseEncoding$1
dup
aload 0
aload 1
invokespecial com.google.common.io.BaseEncoding$1.<init>:(Lcom/google/common/io/BaseEncoding;Lcom/google/common/io/CharSink;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/io/BaseEncoding;
0 2 1 encodedSink Lcom/google/common/io/CharSink;
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtIncompatible()
MethodParameters:
Name Flags
encodedSink final
private static byte[] (byte[], int);
descriptor: ([BI)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: iload 1
aload 0
arraylength
if_icmpne 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
iload 1
newarray 8
astore 2
start local 2 3: aload 0
iconst_0
aload 2
iconst_0
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 result [B
0 5 1 length I
3 5 2 trunc [B
MethodParameters:
Name Flags
result
length
public abstract boolean canDecode(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
chars
public final byte[] decode(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)[B
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.google.common.io.BaseEncoding.decodeChecked:(Ljava/lang/CharSequence;)[B
1: areturn
2: StackMap locals:
StackMap stack: com.google.common.io.BaseEncoding$DecodingException
astore 2
start local 2 3: new java.lang.IllegalArgumentException
dup
aload 2
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/io/BaseEncoding;
0 4 1 chars Ljava/lang/CharSequence;
3 4 2 badInput Lcom/google/common/io/BaseEncoding$DecodingException;
Exception table:
from to target type
0 1 2 Class com.google.common.io.BaseEncoding$DecodingException
MethodParameters:
Name Flags
chars
final byte[] decodeChecked(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)[B
flags: (0x0010) ACC_FINAL
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.google.common.io.BaseEncoding.trimTrailingPadding:(Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
astore 1
1: aload 0
aload 1
invokeinterface java.lang.CharSequence.length:()I
invokevirtual com.google.common.io.BaseEncoding.maxDecodedSize:(I)I
newarray 8
astore 2
start local 2 2: aload 0
aload 2
aload 1
invokevirtual com.google.common.io.BaseEncoding.decodeTo:([BLjava/lang/CharSequence;)I
istore 3
start local 3 3: aload 2
iload 3
invokestatic com.google.common.io.BaseEncoding.extract:([BI)[B
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/io/BaseEncoding;
0 4 1 chars Ljava/lang/CharSequence;
2 4 2 tmp [B
3 4 3 len I
Exceptions:
throws com.google.common.io.BaseEncoding$DecodingException
MethodParameters:
Name Flags
chars
public abstract java.io.InputStream decodingStream(java.io.Reader);
descriptor: (Ljava/io/Reader;)Ljava/io/InputStream;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtIncompatible()
MethodParameters:
Name Flags
reader
public final com.google.common.io.ByteSource decodingSource(com.google.common.io.CharSource);
descriptor: (Lcom/google/common/io/CharSource;)Lcom/google/common/io/ByteSource;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: new com.google.common.io.BaseEncoding$2
dup
aload 0
aload 1
invokespecial com.google.common.io.BaseEncoding$2.<init>:(Lcom/google/common/io/BaseEncoding;Lcom/google/common/io/CharSource;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/io/BaseEncoding;
0 2 1 encodedSource Lcom/google/common/io/CharSource;
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtIncompatible()
MethodParameters:
Name Flags
encodedSource final
abstract int maxEncodedSize(int);
descriptor: (I)I
flags: (0x0400) ACC_ABSTRACT
MethodParameters:
Name Flags
bytes
abstract void encodeTo(java.lang.Appendable, byte[], int, int);
descriptor: (Ljava/lang/Appendable;[BII)V
flags: (0x0400) ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
target
bytes
off
len
abstract int maxDecodedSize(int);
descriptor: (I)I
flags: (0x0400) ACC_ABSTRACT
MethodParameters:
Name Flags
chars
abstract int decodeTo(byte[], java.lang.CharSequence);
descriptor: ([BLjava/lang/CharSequence;)I
flags: (0x0400) ACC_ABSTRACT
Exceptions:
throws com.google.common.io.BaseEncoding$DecodingException
MethodParameters:
Name Flags
target
chars
java.lang.CharSequence trimTrailingPadding(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
flags: (0x0000)
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.CharSequence
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/io/BaseEncoding;
0 1 1 chars Ljava/lang/CharSequence;
MethodParameters:
Name Flags
chars
public abstract com.google.common.io.BaseEncoding omitPadding();
descriptor: ()Lcom/google/common/io/BaseEncoding;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract com.google.common.io.BaseEncoding withPadChar(char);
descriptor: (C)Lcom/google/common/io/BaseEncoding;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
padChar
public abstract com.google.common.io.BaseEncoding withSeparator(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Lcom/google/common/io/BaseEncoding;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
separator
n
public abstract com.google.common.io.BaseEncoding upperCase();
descriptor: ()Lcom/google/common/io/BaseEncoding;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract com.google.common.io.BaseEncoding lowerCase();
descriptor: ()Lcom/google/common/io/BaseEncoding;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public static com.google.common.io.BaseEncoding base64();
descriptor: ()Lcom/google/common/io/BaseEncoding;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.google.common.io.BaseEncoding.BASE64:Lcom/google/common/io/BaseEncoding;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static com.google.common.io.BaseEncoding base64Url();
descriptor: ()Lcom/google/common/io/BaseEncoding;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.google.common.io.BaseEncoding.BASE64_URL:Lcom/google/common/io/BaseEncoding;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static com.google.common.io.BaseEncoding base32();
descriptor: ()Lcom/google/common/io/BaseEncoding;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.google.common.io.BaseEncoding.BASE32:Lcom/google/common/io/BaseEncoding;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static com.google.common.io.BaseEncoding base32Hex();
descriptor: ()Lcom/google/common/io/BaseEncoding;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.google.common.io.BaseEncoding.BASE32_HEX:Lcom/google/common/io/BaseEncoding;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static com.google.common.io.BaseEncoding base16();
descriptor: ()Lcom/google/common/io/BaseEncoding;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.google.common.io.BaseEncoding.BASE16:Lcom/google/common/io/BaseEncoding;
areturn
LocalVariableTable:
Start End Slot Name Signature
static java.io.Reader ignoringReader(java.io.Reader, java.lang.String);
descriptor: (Ljava/io/Reader;Ljava/lang/String;)Ljava/io/Reader;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: new com.google.common.io.BaseEncoding$3
dup
aload 0
aload 1
invokespecial com.google.common.io.BaseEncoding$3.<init>:(Ljava/io/Reader;Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 delegate Ljava/io/Reader;
0 3 1 toIgnore Ljava/lang/String;
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtIncompatible()
MethodParameters:
Name Flags
delegate final
toIgnore final
static java.lang.Appendable separatingAppendable(java.lang.Appendable, java.lang.String, int);
descriptor: (Ljava/lang/Appendable;Ljava/lang/String;I)Ljava/lang/Appendable;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: iload 2
ifle 3
iconst_1
goto 4
StackMap locals:
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: invokestatic com.google.common.base.Preconditions.checkArgument:(Z)V
5: new com.google.common.io.BaseEncoding$4
dup
iload 2
aload 0
aload 1
invokespecial com.google.common.io.BaseEncoding$4.<init>:(ILjava/lang/Appendable;Ljava/lang/String;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 delegate Ljava/lang/Appendable;
0 6 1 separator Ljava/lang/String;
0 6 2 afterEveryChars I
MethodParameters:
Name Flags
delegate final
separator final
afterEveryChars final
static java.io.Writer separatingWriter(java.io.Writer, java.lang.String, int);
descriptor: (Ljava/io/Writer;Ljava/lang/String;I)Ljava/io/Writer;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokestatic com.google.common.io.BaseEncoding.separatingAppendable:(Ljava/lang/Appendable;Ljava/lang/String;I)Ljava/lang/Appendable;
1: astore 3
start local 3 2: new com.google.common.io.BaseEncoding$5
dup
aload 3
aload 0
invokespecial com.google.common.io.BaseEncoding$5.<init>:(Ljava/lang/Appendable;Ljava/io/Writer;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 delegate Ljava/io/Writer;
0 3 1 separator Ljava/lang/String;
0 3 2 afterEveryChars I
2 3 3 seperatingAppendable Ljava/lang/Appendable;
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtIncompatible()
MethodParameters:
Name Flags
delegate final
separator final
afterEveryChars final
}
SourceFile: "BaseEncoding.java"
NestMembers:
com.google.common.io.BaseEncoding$1 com.google.common.io.BaseEncoding$2 com.google.common.io.BaseEncoding$3 com.google.common.io.BaseEncoding$4 com.google.common.io.BaseEncoding$5 com.google.common.io.BaseEncoding$Alphabet com.google.common.io.BaseEncoding$Base16Encoding com.google.common.io.BaseEncoding$Base64Encoding com.google.common.io.BaseEncoding$DecodingException com.google.common.io.BaseEncoding$SeparatedBaseEncoding com.google.common.io.BaseEncoding$StandardBaseEncoding com.google.common.io.BaseEncoding$StandardBaseEncoding$1 com.google.common.io.BaseEncoding$StandardBaseEncoding$2
InnerClasses:
com.google.common.io.BaseEncoding$1
com.google.common.io.BaseEncoding$2
com.google.common.io.BaseEncoding$3
com.google.common.io.BaseEncoding$4
com.google.common.io.BaseEncoding$5
private final Alphabet = com.google.common.io.BaseEncoding$Alphabet of com.google.common.io.BaseEncoding
final Base16Encoding = com.google.common.io.BaseEncoding$Base16Encoding of com.google.common.io.BaseEncoding
final Base64Encoding = com.google.common.io.BaseEncoding$Base64Encoding of com.google.common.io.BaseEncoding
public final DecodingException = com.google.common.io.BaseEncoding$DecodingException of com.google.common.io.BaseEncoding
final SeparatedBaseEncoding = com.google.common.io.BaseEncoding$SeparatedBaseEncoding of com.google.common.io.BaseEncoding
StandardBaseEncoding = com.google.common.io.BaseEncoding$StandardBaseEncoding of com.google.common.io.BaseEncoding
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible(emulated = true)