Fixed machi StringToPosition on big endian machines.
Added getEnd call to server.