![JAR search and dependency download from the Maven repository](/logo.png)
com.google.common.io.ByteSource$ByteArrayByteSource.class Maven / Gradle / Ivy
???? 4 ?
3com/google/common/io/ByteSource$ByteArrayByteSource ([BII)V
com/google/common/io/ByteSource ()V
bytes [B offset I length java/io/ByteArrayInputStream
openStream ()Ljava/io/InputStream;
! " # 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 1 2 3 4 5 "com/google/common/io/ByteProcessor processBytes ([BII)Z 1 7 8 9 getResult ()Ljava/lang/Object;
; < = > java/io/OutputStream write @ A B C D #com/google/common/hash/HashFunction hashBytes '([BII)Lcom/google/common/hash/HashCode; F offset (%s) may not be negative
H I J K L $com/google/common/base/Preconditions
checkArgument (ZLjava/lang/String;J)V N length (%s) may not be negative
P Q R S T java/lang/Math min (JJ)J V java/lang/StringBuilder
U Y ByteSource.wrap(
U [ \ ] append -(Ljava/lang/String;)Ljava/lang/StringBuilder;
_ ` a b c !com/google/common/io/BaseEncoding base16 %()Lcom/google/common/io/BaseEncoding;
_ e f g encode ([BII)Ljava/lang/String; i ...
k l m n o com/google/common/base/Ascii truncate ?(Ljava/lang/CharSequence;ILjava/lang/String;)Ljava/lang/String; q )
U s t u toString ()Ljava/lang/String; ([B)V Code LineNumberTable LocalVariableTable this 5Lcom/google/common/io/ByteSource$ByteArrayByteSource; MethodParameters openBufferedStream isEmpty ()Z
StackMapTable size ()J sizeIfKnown #()Lcom/google/common/base/Optional; Signature 5()Lcom/google/common/base/Optional; read ()[B 8(Lcom/google/common/io/ByteProcessor;)Ljava/lang/Object; processor $Lcom/google/common/io/ByteProcessor; LocalVariableTypeTable )Lcom/google/common/io/ByteProcessor;
Exceptions ? java/io/IOException D(Lcom/google/common/io/ByteProcessor;)TT; RuntimeVisibleAnnotations )Lcom/google/common/io/ParametricNullness; RuntimeVisibleTypeAnnotations 5Lorg/checkerframework/checker/nullness/qual/Nullable; copyTo (Ljava/io/OutputStream;)J output Ljava/io/OutputStream; 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
SourceFile ByteSource.java InnerClasses ByteArrayByteSource
v w A *++?? ? x
H I y z { | w l *? *+? *? *? ? x L M N O P y * z { |
w > ? Y*? *? *? ? ? x T y z { } w / *? ? x Y y z { ~ w B
*? ? ? ? x ^ y
z { ? @ ? ? w 0 *? ?? x c y z { ? ? w 6 *? ?? ? $? x h y z { ? ? ? ? w ? *? *? *? *? `? *? x m y z { ? ? w d +*? *? *? ? 0 W+? 6 ? x
t u y z { ? ? ? ? ? ? ? | ? ? ? ? ? ?
? ? ? w N +*? *? *? ? :*? ?? x
z { y z { ? ? ? ? | ? ? ? w G +*? *? *? ? ? ? x ? y z { ? ? ? ? | ? ? ? w ? Q ?? ? E? G! ?? ? M!? G*? ?? O@!*? ?e? OB*? ?`6? Y*? !?? ? x ? ? "? ,? 8? A? y * Q z { Q ? Q ? A ? ?
@@ | t u w c 1? UY? WX? Z? ^*? *? *? ? dh? j? Zp? Z? r? x ? ? 0? y 1 z { ? ? ?
?
© 2015 - 2025 Weber Informatics LLC | Privacy Policy