public final class com.google.common.hash.HashingInputStream extends java.io.FilterInputStream
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.google.common.hash.HashingInputStream
super_class: java.io.FilterInputStream
{
private final com.google.common.hash.Hasher hasher;
descriptor: Lcom/google/common/hash/Hasher;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(com.google.common.hash.HashFunction, java.io.InputStream);
descriptor: (Lcom/google/common/hash/HashFunction;Ljava/io/InputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.io.InputStream
invokespecial java.io.FilterInputStream.<init>:(Ljava/io/InputStream;)V
1: aload 0
aload 1
invokeinterface com.google.common.hash.HashFunction.newHasher:()Lcom/google/common/hash/Hasher;
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.google.common.hash.Hasher
putfield com.google.common.hash.HashingInputStream.hasher:Lcom/google/common/hash/Hasher;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/hash/HashingInputStream;
0 3 1 hashFunction Lcom/google/common/hash/HashFunction;
0 3 2 in Ljava/io/InputStream;
MethodParameters:
Name Flags
hashFunction
in
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.google.common.hash.HashingInputStream.in:Ljava/io/InputStream;
invokevirtual java.io.InputStream.read:()I
istore 1
start local 1 1: iload 1
iconst_m1
if_icmpeq 3
2: aload 0
getfield com.google.common.hash.HashingInputStream.hasher:Lcom/google/common/hash/Hasher;
iload 1
i2b
invokeinterface com.google.common.hash.Hasher.putByte:(B)Lcom/google/common/hash/Hasher;
pop
3: StackMap locals: int
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/hash/HashingInputStream;
1 4 1 b I
Exceptions:
throws java.io.IOException
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
public int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.google.common.hash.HashingInputStream.in:Ljava/io/InputStream;
aload 1
iload 2
iload 3
invokevirtual java.io.InputStream.read:([BII)I
istore 4
start local 4 1: iload 4
iconst_m1
if_icmpeq 3
2: aload 0
getfield com.google.common.hash.HashingInputStream.hasher:Lcom/google/common/hash/Hasher;
aload 1
iload 2
iload 4
invokeinterface com.google.common.hash.Hasher.putBytes:([BII)Lcom/google/common/hash/Hasher;
pop
3: StackMap locals: int
StackMap stack:
iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/hash/HashingInputStream;
0 4 1 bytes [B
0 4 2 off I
0 4 3 len I
1 4 4 numOfBytesRead I
Exceptions:
throws java.io.IOException
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
bytes
off
len
public boolean markSupported();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/hash/HashingInputStream;
public void mark(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/hash/HashingInputStream;
0 1 1 readlimit I
MethodParameters:
Name Flags
readlimit
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.io.IOException
dup
ldc "reset not supported"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/hash/HashingInputStream;
Exceptions:
throws java.io.IOException
public com.google.common.hash.HashCode hash();
descriptor: ()Lcom/google/common/hash/HashCode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.hash.HashingInputStream.hasher:Lcom/google/common/hash/Hasher;
invokeinterface com.google.common.hash.Hasher.hash:()Lcom/google/common/hash/HashCode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/hash/HashingInputStream;
}
SourceFile: "HashingInputStream.java"
RuntimeInvisibleAnnotations:
com.google.common.annotations.Beta()