code: public Object getNextData()
      {
          if (m_iCurrentIndex >= m_string.length())
              m_iCurrentIndex = -1;
          if (m_iCurrentIndex == -1)
              return null;    // EOF
          int iLength = m_string.charAt(m_iCurrentIndex);
          m_iCurrentIndex++;      // Bump past the length
          String strNext = m_string.substring(m_iCurrentIndex, m_iCurrentIndex + iLength);
          m_iCurrentIndex += iLength;   // Bump past the string
          return strNext;
      }
docs: Get next next object from this buffer.
  @return The next data object.