313314315316317318319320321322323
long claimedCRC32; byte[] bytes; try { bytes = new byte[(int) reader.readLong()]; // readlong can throw EOFException too reader.readFully(bytes); claimedCRC32 = reader.readLong(); } catch (EOFException e) {
315316317318319320321322323324325
byte[] bytes; try { bytes = new byte[(int) reader.readLong()]; // readlong can throw EOFException too reader.readFully(bytes); claimedCRC32 = reader.readLong(); } catch (EOFException e) { // last CL entry didn't get completely written. that's ok. break;
309310311312313314315316317318319
311312313314315316317318319320321
312313314315316317318319320321322
logger_.debug("Reading mutation at " + reader.getFilePointer()); byte[] bytes; try { bytes = new byte[(int) reader.readLong()]; // readlong can throw EOFException too reader.readFully(bytes); } catch (EOFException e) { // last CL entry didn't get completely written. that's ok.
308309310311312313314315316317318
logger_.debug("Reading mutation at " + reader.getFilePointer()); byte[] bytes; try { bytes = new byte[(int) reader.readLong()]; // readlong can throw EOFException too if (reader.read(bytes) < bytes.length) { throw new EOFException(); } }
301302303304305306307308309310311
306307308309310311312313314315316