[FEATURE] Public getDigest()

This commit is contained in:
Gravita 2022-10-15 15:21:42 +07:00
parent 5a0ff3610b
commit df04b459be

View file

@ -69,6 +69,10 @@ public long size() {
return size; return size;
} }
public byte[] getDigest() {
return digest;
}
@Override @Override
public void write(HOutput output) throws IOException { public void write(HOutput output) throws IOException {
output.writeVarLong(size); output.writeVarLong(size);