code: public int freeBytes()
      {
          if (tc.isEntryEnabled())
              Tr.entry(tc, "freeBytes", this);
  
          int freeBytes = 0;
  
          try
          {
              int currentCursorPosition = _fileBuffer.position();
              int fileLength = _fileBuffer.capacity();
  
              freeBytes = fileLength - currentCursorPosition;
  
              if (freeBytes < 0)
              {
                  freeBytes = 0;
              }
          } catch (Throwable exc)
          {
              FFDCFilter.processException(exc, "com.ibm.ws.recoverylog.spi.LogFileHandle.freeBytes", "956", this);
              freeBytes = 0;
          }
  
          if (tc.isEntryEnabled())
              Tr.exit(tc, "freeBytes", new Integer(freeBytes));
  
          return freeBytes;
      }
docs: Returns the number of free bytes remaining in the file associated with this
  LogFileHandle instance.
  
  @return long The number of free bytes remaining.