code: public void writePadBlocks(int blockCount) throws IOException {
  
          for (int i = 0; i < blockCount; i++) {
              write(ZERO_BLOCK, ZERO_BLOCK.length);
          }
      }
docs: Writes the specified quantity of zero'd blocks.