code: private void reportCorruption(long bytes, String reason)
      {
          if (monitor != null) {
              monitor.corruption(bytes, reason);
          }
      }
docs: Reports corruption to the monitor.
  The buffer must be updated to remove the dropped bytes prior to invocation.