@Override
  public void close() throws IOException {
    out.close();
    index.close();
  }
Write bytes.

@param bytes the bytes
@throws IOException the io exception
util/src/main/java/org/hyperledger/besu/util/io/RollingFileWriter.java