com.google.common.io.ByteSource.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plantuml-epl Show documentation
Show all versions of plantuml-epl Show documentation
PlantUML is a component that allows to quickly write diagrams from text.
???? 4
java/lang/Object ()V ,com/google/common/io/ByteSource$AsCharSource
>(Lcom/google/common/io/ByteSource;Ljava/nio/charset/Charset;)V
com/google/common/io/ByteSource
openStream ()Ljava/io/InputStream; java/io/BufferedInputStream
(Ljava/io/InputStream;)V 0com/google/common/io/ByteSource$SlicedByteSource
&(Lcom/google/common/io/ByteSource;JJ)V
sizeIfKnown #()Lcom/google/common/base/Optional;
! " # $ % com/google/common/base/Optional isPresent ()Z
! ' ( ) get ()Ljava/lang/Object; + java/lang/Long
* - . / longValue ()J
1 2 3 4 5 com/google/common/io/Closer create ()Lcom/google/common/io/Closer;
1 7 8 9 register ((Ljava/io/Closeable;)Ljava/io/Closeable; ; java/io/InputStream
: = > ? read ()I
1 A B close D java/lang/Throwable
1 F G H rethrow 3(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
! J K absent
M N O countBySkipping (Ljava/io/InputStream;)J Q java/io/IOException
S T U V O com/google/common/io/ByteStreams exhaust X java/lang/Integer ???
S \ ] ^ skipUpTo (Ljava/io/InputStream;J)J
` a b c d $com/google/common/base/Preconditions checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object;
S f g h copy .(Ljava/io/InputStream;Ljava/io/OutputStream;)J
j k l m com/google/common/io/ByteSink ()Ljava/io/OutputStream; o java/io/OutputStream
S q r s toByteArray (Ljava/io/InputStream;J)[B
S u r v (Ljava/io/InputStream;)[B
S x y z readBytes M(Ljava/io/InputStream;Lcom/google/common/io/ByteProcessor;)Ljava/lang/Object; | } ~ ? #com/google/common/hash/HashFunction newHasher !()Lcom/google/common/hash/Hasher;
? ? ? ? ? com/google/common/hash/Funnels asOutputStream >(Lcom/google/common/hash/PrimitiveSink;)Ljava/io/OutputStream;
? ? ? copyTo (Ljava/io/OutputStream;)J ? ? ? ? ? com/google/common/hash/Hasher hash #()Lcom/google/common/hash/HashCode;
S ? ? ? createBuffer ()[B
S ? > ? (Ljava/io/InputStream;[BII)I
? ? ? ? ? java/util/Arrays equals ([B[B)Z ? 6com/google/common/io/ByteSource$ConcatenatedByteSource
? ? ? (Ljava/lang/Iterable;)V
? ? ? ? ? 'com/google/common/collect/ImmutableList copyOf ?(Ljava/util/Iterator;)Lcom/google/common/collect/ImmutableList;
? ? ? concat 7(Ljava/lang/Iterable;)Lcom/google/common/io/ByteSource;
? ? ? ? >([Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList; ? 3com/google/common/io/ByteSource$ByteArrayByteSource
? ? ? ([B)V ? ? ? ? ? /com/google/common/io/ByteSource$EmptyByteSource INSTANCE 1Lcom/google/common/io/ByteSource$EmptyByteSource; Code LineNumberTable LocalVariableTable this !Lcom/google/common/io/ByteSource; asCharSource =(Ljava/nio/charset/Charset;)Lcom/google/common/io/CharSource; charset Ljava/nio/charset/Charset; MethodParameters
Exceptions openBufferedStream in Ljava/io/InputStream;
StackMapTable slice %(JJ)Lcom/google/common/io/ByteSource; offset J length isEmpty e Ljava/lang/Throwable; !Lcom/google/common/base/Optional; closer Lcom/google/common/io/Closer; LocalVariableTypeTable 3Lcom/google/common/base/Optional; Signature 5()Lcom/google/common/base/Optional; size count skipped output Ljava/io/OutputStream; RuntimeInvisibleAnnotations 8Lcom/google/errorprone/annotations/CanIgnoreReturnValue; "(Lcom/google/common/io/ByteSink;)J out sink Lcom/google/common/io/ByteSink; ? [B 8(Lcom/google/common/io/ByteProcessor;)Ljava/lang/Object; processor $Lcom/google/common/io/ByteProcessor; )Lcom/google/common/io/ByteProcessor; ? "com/google/common/io/ByteProcessor D(Lcom/google/common/io/ByteProcessor;)TT; RuntimeVisibleAnnotations )Lcom/google/common/io/ParametricNullness; RuntimeVisibleTypeAnnotations 5Lorg/checkerframework/checker/nullness/qual/Nullable; H(Lcom/google/common/hash/HashFunction;)Lcom/google/common/hash/HashCode; hashFunction %Lcom/google/common/hash/HashFunction; hasher Lcom/google/common/hash/Hasher;
contentEquals $(Lcom/google/common/io/ByteSource;)Z read1 I read2 in1 in2 other buf1 buf2 sources Ljava/lang/Iterable; 8Ljava/lang/Iterable<+Lcom/google/common/io/ByteSource;>; [(Ljava/lang/Iterable<+Lcom/google/common/io/ByteSource;>;)Lcom/google/common/io/ByteSource; 7(Ljava/util/Iterator;)Lcom/google/common/io/ByteSource; Ljava/util/Iterator; 8Ljava/util/Iterator<+Lcom/google/common/io/ByteSource;>; [(Ljava/util/Iterator<+Lcom/google/common/io/ByteSource;>;)Lcom/google/common/io/ByteSource; E([Lcom/google/common/io/ByteSource;)Lcom/google/common/io/ByteSource; "[Lcom/google/common/io/ByteSource; wrap %([B)Lcom/google/common/io/ByteSource; b empty #()Lcom/google/common/io/ByteSource;
SourceFile ByteSource.java 6Lcom/google/common/io/ElementTypesAreNonnullByDefault; 0Lcom/google/common/annotations/J2ktIncompatible; /Lcom/google/common/annotations/GwtIncompatible; InnerClasses AsCharSource SlicedByteSource ConcatenatedByteSource ByteArrayByteSource EmptyByteSource!
? / *? ? ? R ? ? ? ? ? ? >
? Y*+? ? ? ^ ?
? ?
? ? ? ? ? P ? ? r *? L+? ?
+? ? ? Y+? ? ? x y z { y ? ? ? ? ? ? ? :G : ? P ? ? ? I ? Y*!? ? ? ? ? ? ? ? ? ? ? ? ? ? ? % ? 2 W*? L+? ? +? &? *? , ?? ? ?? 0M,*? ? 6? :N-? <? ? 6,? @?N,-? E?:,? @? % @ G C % @ N G P N ? 2 ? ? ? ! ? % ? 1 ? @ ? D ? G ? H ? N ? T ? ? 4 1 ? ? H ? ? W ? ? R ? % 2 ? ? ? R ? ? - ? !@ ? 1 :@?
! 1 CF C ? P ? . ? I? ? ? ? ? ? ? ? ? / ? ? s*? L+? ? +? &? *? ,?? 0M,*? ? 6? :N*-? L7,? @?N,? @? :,? @?? 0M,*? ? 6? :N-? R7,? @?N,-? E?:,? @? . 5 P . = = ? = J \ c C J \ j c l j ? Z ? ? ? ? ? ' ? . ? 2 ? 5 ? 6 ? : ? = ? C ? F ? J ? V ? \ ? ` ? c ? d ? j ? p ? ? > ' ? ? V
? ? d ? ? s ? ? n ? X ? ? ? n ? ? ( ? !?
! 1 PG C\ CF C ? P N O ? A+ Y? [\7 ?? aA??? ? ? ? ? ? ? ? * ? ? ? ? ? ? ? ? ?
? ? ? P ? ? ? ? ? ? 3+? _W? 0M,*? ? 6? :N-+? e7,? @?N,-? E?:,? @? # C * # , * ? *
? ? # $ * 0 ? 4 ? ? $ ? ? 3 ? ? 3 ? ? * ? ? ? ? #
n 1 CF C ? P ? ? ? ? ? ? ? ? A+? _W? 0M,*? ? 6? :N,+? i? 6? n:-? e7,? @?N,-? E?:,? @? * 1 C * 8 1 : 8 ? . " * . 1 2 8 > ? > ? ? " ? ? 2 ? ? A ? ? A ? ? 8 ? ? ? ? 1
j 1 CF C ? P ? ? ? ? > ? ? J? 0L+*? ? 6? :M*? N-? ? ,-? &? *? ,? p? ,? t:+? @?M+,? E?:+? @? 3 : C 3 A : C A ? 2 &