public void AddString( String str, ref int position )
{
GuaranteeSize( position + str.Length * 2 + 2 );
for (int i = 0; i < str.Length; ++i)
{
m_data[position+(2*i)] = (byte)(str[i] >> 8);
m_data[position+(2*i)+1] = (byte)(str[i] & 0x00FF);
}
m_data[position + str.Length * 2] = 0;
m_data[position + str.Length * 2 + 1] = 0;
position += str.Length * 2 + 2;
}