
com.google.common.io.BaseEncoding.class Maven / Gradle / Ivy
???? 2
; ?
: ?
? ? ?
: ?
?
: ? ? ?
?
?
? ? ?
?
? ?
: ? ? ?
?
: ?
? ? ? ?
: ?
: ?
: ? ?
? : ? : ? : ? : ? : ? ?
! ?
? ? ?
$ ?
: ? ?
' ? ? ? ?
? ?
) ? ? ? ? ? ?
0 ? ? ? ? ? ?
6 ? ? ? ? SeparatedBaseEncoding InnerClasses Base64Encoding Base16Encoding StandardBaseEncoding ? Alphabet DecodingException BASE64 #Lcom/google/common/io/BaseEncoding;
BASE64_URL BASE32
BASE32_HEX BASE16 ()V Code LineNumberTable LocalVariableTable this encode ([B)Ljava/lang/String; bytes [B ([BII)Ljava/lang/String;
impossible Ljava/io/IOException; off I len result Ljava/lang/StringBuilder;
StackMapTable ? U ? ? encodingStream ((Ljava/io/Writer;)Ljava/io/OutputStream; RuntimeInvisibleAnnotations /Lcom/google/common/annotations/GwtIncompatible; value Writer,OutputStream encodingSink @(Lcom/google/common/io/CharSink;)Lcom/google/common/io/ByteSink; encodedSink Lcom/google/common/io/CharSink; ByteSink,CharSink extract ([BI)[B trunc length decode (Ljava/lang/CharSequence;)[B badInput 5Lcom/google/common/io/BaseEncoding$DecodingException; chars Ljava/lang/CharSequence; ?
decodeChecked tmp
Exceptions decodingStream '(Ljava/io/Reader;)Ljava/io/InputStream; Reader,InputStream decodingSource D(Lcom/google/common/io/CharSource;)Lcom/google/common/io/ByteSource;
encodedSource !Lcom/google/common/io/CharSource; ByteSource,CharSource maxEncodedSize (I)I encodeTo (Ljava/lang/Appendable;[BII)V maxDecodedSize decodeTo ([BLjava/lang/CharSequence;)I padding &()Lcom/google/common/base/CharMatcher; omitPadding %()Lcom/google/common/io/BaseEncoding; RuntimeVisibleAnnotations #Ljavax/annotation/CheckReturnValue; withPadChar &(C)Lcom/google/common/io/BaseEncoding;
withSeparator 8(Ljava/lang/String;I)Lcom/google/common/io/BaseEncoding; upperCase lowerCase base64 base64Url base32 base32Hex base16 ignoringReader F(Ljava/io/Reader;Lcom/google/common/base/CharMatcher;)Ljava/io/Reader; delegate Ljava/io/Reader; toIgnore $Lcom/google/common/base/CharMatcher; Reader separatingAppendable A(Ljava/lang/Appendable;Ljava/lang/String;I)Ljava/lang/Appendable; Ljava/lang/Appendable; separator Ljava/lang/String; afterEveryChars separatingWriter 5(Ljava/io/Writer;Ljava/lang/String;I)Ljava/io/Writer; Ljava/io/Writer; seperatingAppendable Writer
SourceFile BaseEncoding.java $Lcom/google/common/annotations/Beta; -Lcom/google/common/annotations/GwtCompatible; emulated L M R V ? ? ? java/lang/StringBuilder ? ? L ? ? ? java/io/IOException java/lang/AssertionError L ? ? ? ? ? #com/google/common/io/BaseEncoding$1 L ? y s 3com/google/common/io/BaseEncoding$DecodingException "java/lang/IllegalArgumentException L ? ? q ? ? ? ? n o #com/google/common/io/BaseEncoding$2 L F G H G I G J G K G #com/google/common/io/BaseEncoding$3 L
#com/google/common/io/BaseEncoding$4 L
? ? #com/google/common/io/BaseEncoding$5 L 0com/google/common/io/BaseEncoding$Base64Encoding base64() @ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/ L base64Url() @ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_ 6com/google/common/io/BaseEncoding$StandardBaseEncoding base32() ABCDEFGHIJKLMNOPQRSTUVWXYZ234567 base32Hex() 0123456789ABCDEFGHIJKLMNOPQRSTUV 0com/google/common/io/BaseEncoding$Base16Encoding base16() 0123456789ABCDEF L !com/google/common/io/BaseEncoding java/lang/Object 7com/google/common/io/BaseEncoding$SeparatedBaseEncoding *com/google/common/io/BaseEncoding$Alphabet $com/google/common/base/Preconditions checkPositionIndexes (III)V (I)V (Ljava/lang/Object;)V toString ()Ljava/lang/String; checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object; E(Lcom/google/common/io/BaseEncoding;Lcom/google/common/io/CharSink;)V java/lang/System arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V (Ljava/lang/Throwable;)V "com/google/common/base/CharMatcher trimTrailingFrom ,(Ljava/lang/CharSequence;)Ljava/lang/String; java/lang/CharSequence ()I G(Lcom/google/common/io/BaseEncoding;Lcom/google/common/io/CharSource;)V 7(Ljava/io/Reader;Lcom/google/common/base/CharMatcher;)V
checkArgument (Z)V ,(ILjava/lang/Appendable;Ljava/lang/String;)V )(Ljava/lang/Appendable;Ljava/io/Writer;)V java/lang/Character valueOf (C)Ljava/lang/Character; <(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Character;)V '(Ljava/lang/String;Ljava/lang/String;)V! : ; F G H G I G J G K G L M N / *? ? O P Q G R S N = *++?? ? O ? P Q G T U R V N ? 5`+?? ? Y*? ? :*+? ? :? Y?
?? ? # O ? ? ? ? # ? % ? / ? P > %
W X 5 Q G 5 T U 5 Y Z 5 [ Z \ ] ^ ? # _ ` a b c d e f gs h i j N G +? W?
Y*+? ? O
? ? P Q G k l e f gs m
n o N m *?? *??M*,? ,? O ? ? ? ? ? P
p U \ U q Z ^ r s N j *+? ?M? Y,? ? O ? ? ? P t u Q G v w ^ F x y s N w #*? +? L*+? ? ?M*,+? >,? ? O ? ? ? ? P * # Q G # v w
z U [ Z { | } e f gs ~ ? N G +? W? Y*+? ? O
? ? P Q G ? ? e f gs ? ? ? ? ? { ? ? ? ? { ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? N ? ? O N ? ? N ? ? O c ? ? N ? ? O w ? ? N ? ? O ? ? ? N ? ? O ? ? ? N P *? W+? W? !Y*+? "? O ? ?
? P ? ? ? ? e f gs ? ? ? N v !*? W+? W? ? ? #? $Y*+? %? O ? ?
? ? P ! ? ? ! ? ? ! ? Z ^ @ ? ? N ] *+? &N? 'Y-*? (? O
? ? P * ? ? ? ? ? Z
? ? e f gs ? ? M N ? [? )Y*+=? ,? -? ? )Y./=? ,? -? ? 0Y12=? ,? 3? ? 0Y45=? ,? 3? ? 6Y78? 9? ? O = Q &f 9z L? ? ? e ? ? ?Z ? > Z <