public String getText() {
    final StringBuilder sb = new StringBuilder();
    for (final String s : m_buffer) {
      sb.append(s);
      sb.append('\n');
    }
    return sb.toString();
  }
Returns the circular buffer in one string object.

@return The whole buffer represented as one string.
java/zylib/src/main/java/com/google/security/zynamics/zylib/strings/CircularStringBuffer.java