public final class com.google.common.hash.HashingOutputStream extends java.io.FilterOutputStream
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.google.common.hash.HashingOutputStream
super_class: java.io.FilterOutputStream
{
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.OutputStream);
descriptor: (Lcom/google/common/hash/HashFunction;Ljava/io/OutputStream;)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.OutputStream
invokespecial java.io.FilterOutputStream.<init>:(Ljava/io/OutputStream;)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.HashingOutputStream.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/HashingOutputStream;
0 3 1 hashFunction Lcom/google/common/hash/HashFunction;
0 3 2 out Ljava/io/OutputStream;
MethodParameters:
Name Flags
hashFunction
out
public void write(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.hash.HashingOutputStream.hasher:Lcom/google/common/hash/Hasher;
iload 1
i2b
invokeinterface com.google.common.hash.Hasher.putByte:(B)Lcom/google/common/hash/Hasher;
pop
1: aload 0
getfield com.google.common.hash.HashingOutputStream.out:Ljava/io/OutputStream;
iload 1
invokevirtual java.io.OutputStream.write:(I)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/hash/HashingOutputStream;
0 3 1 b I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
public void write(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.google.common.hash.HashingOutputStream.hasher:Lcom/google/common/hash/Hasher;
aload 1
iload 2
iload 3
invokeinterface com.google.common.hash.Hasher.putBytes:([BII)Lcom/google/common/hash/Hasher;
pop
1: aload 0
getfield com.google.common.hash.HashingOutputStream.out:Ljava/io/OutputStream;
aload 1
iload 2
iload 3
invokevirtual java.io.OutputStream.write:([BII)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/hash/HashingOutputStream;
0 3 1 bytes [B
0 3 2 off I
0 3 3 len I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
bytes
off
len
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.HashingOutputStream.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/HashingOutputStream;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.hash.HashingOutputStream.out:Ljava/io/OutputStream;
invokevirtual java.io.OutputStream.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/hash/HashingOutputStream;
Exceptions:
throws java.io.IOException
}
SourceFile: "HashingOutputStream.java"
RuntimeInvisibleAnnotations:
com.google.common.annotations.Beta()