std::ostream& out,
uint8 *& out,
inline void Write4	(	std::ostream& out,	uint32 val	)	{	out.put((char) (val&0xff));	out.put((char) ((val>>8)&0xff));	out.put((char) ((val>>16)&0xff));	out.put((char) ((val>>24)&0xff));	}