public IntVector ReadHashDigests(
int numItems,
BoolVector digestsDefined) throws IOException {
digestsDefined.setBoolVector(ReadBoolVector2(numItems));
final IntVector digests = new IntVector(numItems);
digests.clear();
digests.Reserve(numItems);
for (int i=0; i<numItems; i++) {
int crc = 0;
if (digestsDefined.get(i))
crc = ReadUInt32();