code: private int writeBuffer(byte[] byteBuffer,
                              int offset,
                              int length,
                              long byteAddress)
                      throws ObjectManagerException
      {
          if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
              trace.entry(this,
                          cclass,
                          "writeBuffer",
                          new Object[] { new Integer(byteBuffer.hashCode()), new Integer(offset), new Integer(length), new Long(byteAddress) }
                              );
  
          // Write the bytes.
          try {
              storeFile.seek(byteAddress);
              storeFile.write(byteBuffer, offset, length);
          } catch (java.io.IOException exception) {
              // No FFDC Code Needed.
              ObjectManager.ffdc.processException(this, cclass, "writeBuffer", exception, "1:774:1.35");
  
              if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
                  trace.exit(this,
                             cclass,
                             "writeBuffer");
  
              // cannot continue
              objectManagerState.requestShutdown();
              throw new PermanentIOException(this,
                                             exception);
          } // catch.
  
          if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
              trace.exit(this,
                         cclass,
                         "writeBuffer",
                         new Object[] { new Integer(length) });
          return length;
      }
docs: Write a byteBuffer. May return before the write completes.
  
  @param byteBuffer to be written.
  @param offset within the buffer of the first byte to write.
  @param length of the buffer to write.
  @param byteAddress that the buffer is to be was written at.
  @return int the number of bytes written.
  @throws ObjectManagerException