def _read_uint16(f):
 return np.uint16(struct.unpack('>H', f.read(4)[2:4])[0])

def _read_uint16 ( f ) : return np . uint16 ( struct . unpack ( '>H' , f . read ( 4 ) [ 2 : 4 ] ) [ 0 ] )
read an unsigned 16-bit integer .