public long getChecksum() {
return checksum;
}
public long getExpectedChecksum() {
return expectedChecksum;
<BUG>}
private CheckedBytes(InputStream input) throws IOException {</BUG>
this.expectedLength = readInt(input);
this.bytez = new byte[expectedLength];
readFully(input, bytez, 0, expectedLength);

public long getChecksum() {
return checksum;
}
public long getExpectedChecksum() {
return expectedChecksum;
}
public Status getStatus() {
return status;
}
private CheckedBytes(InputStream input) throws IOException {
this.expectedLength = readInt(input);
this.bytez = new byte[expectedLength];
readFully(input, bytez, 0, expectedLength);
