code: public byte[] getUserFriendlyBytes() throws UnsupportedEncodingException {
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getUserFriendlyBytes");
  
      byte[] result = null;
  
      /* Only need to do anything if there are items in the stream */
      if (getBodyList().size() > 0) {
  
        Object item;
        int index = 0;
        StringBuilder buff = new StringBuilder();
        String lineSeparator = System.getProperty("line.separator");
  
        /* Get the first item and append it to the buffer */
        item = getBodyList().get(index++);
        if (item != null) {
          if (!(item instanceof byte[])) {
            buff.append(item.toString());
          }
          else {
            buff.append(new String((byte[])item));
          }
        }
  
        /* For all subsequent items append a separator first */
        while (index < getBodyList().size()) {
          buff.append(lineSeparator);
          item = getBodyList().get(index++);
          if (item != null) {
            if (!(item instanceof byte[])) {
              buff.append(item.toString());
            }
            else {
              buff.append(new String((byte[])item));
            }
          }
        }
docs: /*
  Return a 'User Friendly' byte array for Admin to display on a panel
  <p>
  This method is used to return a byte array in the form
  value|value|......|value
  where | is the line.separator System property.
  
  Javadoc description supplied by the JsJmsStreamMessage interface.