![JAR search and dependency download from the Maven repository](/logo.png)
com.google.common.io.ByteSource$ByteArrayByteSource.class Maven / Gradle / Ivy
???? 4 ?
Z
[ \ ] ^ _
Z
`
a b
c d
e f g h g i
j k l m n
o p q
r s t u
[ v
w
x y
x z {
| } ~
? bytes [B offset I length ([B)V Code LineNumberTable LocalVariableTable this ByteArrayByteSource InnerClasses 5Lcom/google/common/io/ByteSource$ByteArrayByteSource; MethodParameters ([BII)V
openStream ()Ljava/io/InputStream; 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 ? 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 toString ()Ljava/lang/String;
SourceFile ByteSource.java % / % ? ! " # $ # java/io/ByteArrayInputStream 0 1 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? / ? ? ? offset (%s) may not be negative ? ? ? length (%s) may not be negative ? ? ? 3com/google/common/io/ByteSource$ByteArrayByteSource java/lang/StringBuilder ByteSource.wrap( ? ? ? ? ? ? ? ... ? ? ? ) V W 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 "com/google/common/io/ByteProcessor processBytes ([BII)Z getResult ()Ljava/lang/Object; java/io/OutputStream write #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; ! " # $ #
% &