(ByteBuffer b, long pos)
| 344 | } |
| 345 | |
| 346 | private void writeFully(ByteBuffer b, long pos) throws IOException { |
| 347 | while (b.hasRemaining()) { |
| 348 | int wrote = fc.write(b, pos); |
| 349 | pos = pos + wrote; |
| 350 | } |
| 351 | } |
| 352 | |
| 353 | /** |
| 354 | * Number of entries actually on the disk, even if invalid. |
no test coverage detected