
com.google.common.io.ByteSource$ByteArrayByteSource.class Maven / Gradle / Ivy
The newest version!
???? 2 ?
U
V W X Y Z
U
[
\ ]
^ _
` a
b c d e d f g h i
j k l
m n o p
V q
r
s t
s u v
w x y
z { bytes [B offset I length ([B)V Code LineNumberTable LocalVariableTable this ByteArrayByteSource InnerClasses 5Lcom/google/common/io/ByteSource$ByteArrayByteSource; ([BII)V
openStream ()Ljava/io/InputStream; openBufferedStream
Exceptions | isEmpty ()Z
StackMapTable size ()J sizeIfKnown #()Lcom/google/common/base/Optional; Signature 5()Lcom/google/common/base/Optional; read ()[B copyTo (Ljava/io/OutputStream;)J output Ljava/io/OutputStream; 8(Lcom/google/common/io/ByteProcessor;)Ljava/lang/Object; processor $Lcom/google/common/io/ByteProcessor; LocalVariableTypeTable )Lcom/google/common/io/ByteProcessor; D(Lcom/google/common/io/ByteProcessor;)TT; hash H(Lcom/google/common/hash/HashFunction;)Lcom/google/common/hash/HashCode; hashFunction %Lcom/google/common/hash/HashFunction; slice %(JJ)Lcom/google/common/io/ByteSource; J newOffset toString ()Ljava/lang/String;
SourceFile ByteSource.java % . % } ! " # $ # java/io/ByteArrayInputStream / 0 ~ ? ? ? ? ? ? ? ? ? . ? ? ? ? ? ? ? ? offset (%s) may not be negative ? ? ? length (%s) may not be negative ? ? ? 3com/google/common/io/ByteSource$ByteArrayByteSource java/lang/StringBuilder ByteSource.wrap( ? ? ? ? ? ? ? ... ? ? ? ) Q R com/google/common/io/ByteSource java/io/IOException ()V java/lang/Long valueOf (J)Ljava/lang/Long; com/google/common/base/Optional of 5(Ljava/lang/Object;)Lcom/google/common/base/Optional; java/util/Arrays copyOfRange ([BII)[B java/io/OutputStream write "com/google/common/io/ByteProcessor processBytes ([BII)Z getResult ()Ljava/lang/Object; #com/google/common/hash/HashFunction hashBytes '([BII)Lcom/google/common/hash/HashCode; $com/google/common/base/Preconditions
checkArgument (ZLjava/lang/String;J)V java/lang/Math min (JJ)J append -(Ljava/lang/String;)Ljava/lang/StringBuilder; !com/google/common/io/BaseEncoding base16 %()Lcom/google/common/io/BaseEncoding; encode ([BII)Ljava/lang/String; com/google/common/base/Ascii truncate ?(Ljava/lang/CharSequence;ILjava/lang/String;)Ljava/lang/String; ! " # $ #
% &