code: public ObjectManagerByteArrayOutputStream[] getBuffers(ObjectManagerByteArrayOutputStream byteArrayOutputStream)
                      throws ObjectManagerException
      {
          if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
              trace.entry(this,
                          cclass,
                          "getBuffers",
                          new Object[] { byteArrayOutputStream });
  
          ObjectManagerByteArrayOutputStream[] buffers = new ObjectManagerByteArrayOutputStream[1];
  
          //  Create the buffer to contain the header for this log record.
          byteArrayOutputStream.reset();
          buffers[0] = byteArrayOutputStream;
  
          buffers[0].writeInt(LogRecord.TYPE_PREPARE);
          logicalUnitOfWork.writeSerializedBytes(buffers[0]);
  
          if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
              trace.exit(this,
                         cclass,
                         "getBuffers",
                         buffers);
          return buffers;
      }
docs: Gives back the serialized LogRecord as arrays of bytes.
  
  @param byteArrayOutputStream used to hold the logRecord.
  
  @return ObjectManagerByteArrayOutputStream[] the buffers containing the serialized LogRecord.
  @throws ObjectManagerException