inline uint16 Read2high ( uint8 *& in ) { uint8 b0 = *in++; uint8 b1 = *in++; return ((b0 << 8) | b1); }
inline uint16 Read2high (std::istream &in) { uint16 val = 0; val |= static_cast<uint16>(in.get()<<8); val |= static_cast<uint16>(in.get()); return val; }
inline uint16 Read2high	(	uint8 *& in	)	{	uint8 b0 = *in++;	uint8 b1 = *in++;	return ((b0 << 8) | b1);	}