out.put((char) (val&0xff)); out.put((char) ((val>>8)&0xff));
*out++ = val & 0xff; *out++ = (val>>8) & 0xff;
inline void Write2	(	std::ostream& out,	uint16 val	)	{	out.put((char) (val&0xff));	out.put((char) ((val>>8)&0xff));	}