byte[] bytes = s.getBytes("UTF-8"); //$NON-NLS-1$
int length = bytes.length;
int endAt = m_index + length + 1;
if (endAt > m_content.length)
throw new ArrayIndexOutOfBoundsException(endAt+" > "+m_content.length); //$NON-NLS-1$
/* copy the string as a byte array */
System.arraycopy(bytes, 0, m_content, m_index, length);
m_index += length;