Exemplo n.º 1
0
		/// <summary>
		/// Utility function to copy a String into a ByteBuffer.
		/// </summary>
		internal static void putString(ByteBuffer buf, string str)
		{
			int len = str.Length;
			for (int i = 0; i < len; i++)
			{
				buf.putChar(str[i]);
			}
		}